Skip to content
Snippets Groups Projects

Switch PyMC3 to PyMC (which is the new name starting from PyMC v4.0.0)

Merged Matthew David Pitkin requested to merge matthew-pitkin/bilby:pymc3_to_pymc4 into master
All threads resolved!
6 files
+ 31
8
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -691,7 +691,7 @@ class Sampler(object):
use :code:`os._exit` that cannot be excepted. Other samplers exiting
can be caught as a :code:`SystemExit`.
"""
if self.npool == 1 or getattr(self, "pool", None) is not None:
if self.npool in (1, None) or getattr(self, "pool", None) is not None:
self._log_interruption(signum=signum)
self.write_current_state()
self._close_pool()
Loading