rajeshrinet / pyross

PyRoss: inference, forecasts, and optimised control of epidemiological models in Python. github.com/rajeshrinet/pyross
https://pyross.readthedocs.io
MIT License
169 stars 57 forks source link

np.float removed from numpy 1.24.0 #47

Closed qacwnfq closed 1 year ago

qacwnfq commented 1 year ago

See release notes: https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations

np.float is not the only scalar type that was removed. In order to stay compatible with packages that depend on newer numpy versions these aliases should be updated.

rajeshrinet commented 1 year ago

@qacwnfq thanks for bringing this to our notice. It has now been updated.

qacwnfq commented 1 year ago

Oh wow, you're quick :) I was thinking about making a PR in my free time. Thanks for the update!