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!
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
@@ -114,6 +114,11 @@ class Zeus(Emcee):
return init_kwargs
def write_current_state(self):
self._sampler.distribute = map
super(Zeus, self).write_current_state()
self._sampler.distribute = getattr(self._sampler.pool, "map", map)
def _initialise_sampler(self):
from zeus import EnsembleSampler
self._sampler = EnsembleSampler(**self.sampler_init_kwargs)
Loading