joshspeagle / dynesty

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

Fixed the TypeError from "numpy/core/fromnumeric.py" #106

Closed tdaylan closed 5 years ago

tdaylan commented 5 years ago

Hey Josh,

I just fixed the TypeError from "numpy/core/fromnumeric.py", line 83, in _wrapreduction

TypeError: 'float' object cannot be interpreted as an index

by changing np.min() -> min() and np.max() -> max() in plotting.py.

Best, Tansu

joshspeagle commented 5 years ago

Fantastic -- thanks.