You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I cannot import hmf anymore with scipy-version 1.14.0.
ImportError: cannot import name 'simps' from 'scipy.integrate' (/home/robert/anaconda3/lib/python3.12/site-packages/scipy/integrate/__init__.py). Did you mean: 'simpson'?
To Reproduce
Fresh installation of hmf with no prior installation of scipy of an older version.
Expected behavior
OS: Ubuntu
Additional context simps is deprecated and should be called simpson in ever call. A quick look into the source code tells me that even keyword also would need to go. In principle simpson can be called in the same manner as numpy.trapz.
Cheers,
Robert
The text was updated successfully, but these errors were encountered:
Dear Steven,
Describe the bug
I cannot import hmf anymore with scipy-version 1.14.0.
ImportError: cannot import name 'simps' from 'scipy.integrate' (/home/robert/anaconda3/lib/python3.12/site-packages/scipy/integrate/__init__.py). Did you mean: 'simpson'?
To Reproduce
Fresh installation of hmf with no prior installation of scipy of an older version.
Expected behavior
Additional context
simps
is deprecated and should be calledsimpson
in ever call. A quick look into the source code tells me thateven
keyword also would need to go. In principlesimpson
can be called in the same manner asnumpy.trapz
.Cheers,
Robert
The text was updated successfully, but these errors were encountered: