-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
While trying to use this module with a recent version of Python and numpy, scipy, and understand the error underlying desanou/multiscale_glasso#1, I got the following error:
Module 'numpy' has no attribute 'float'.np.float
was a deprecated alias for the builtin
float. To avoid this error in existing code, use
floatby itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use
np.float64` here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
It seems that parsimony use at least once np.float
:
array = np.asarray(array, dtype=np.float) |
Do you plan to publish a release correcting this?
Thanks
Metadata
Metadata
Assignees
Labels
No labels