joshspeagle / dynesty

Dynamic Nested Sampling package for computing Bayesian posteriors and evidences
https://dynesty.readthedocs.io/
MIT License
347 stars 76 forks source link

fixed repeated removing while pickling sampler in sampler.py #210

Closed ruskin23 closed 3 years ago

ruskin23 commented 3 years ago

It looks like deleting rstate, pool and pool.map was repeated here and here. I have added a simple try except statement in sampler.py to overcome this.

joshspeagle commented 3 years ago

Thanks for catching this! I'll merge this in. 👍