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
I am having the following error when importing datasets:
(...)
FileC:\ProgramData\Miniconda3\lib\site-packages\enigmatoolbox\mesh\mesh_elements.py:623dtype=np.float):
FileC:\ProgramData\Miniconda3\lib\site-packages\numpy\__init__.py:305in__getattr__raiseAttributeError(__former_attrs__[attr])
AttributeError: module'numpy'hasnoattribute'float'.
`np.float` was a deprecated alias for the builtin `float`. To avoid this error in existing code, use `float` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.float64` here.
ThealiaseswasoriginallydeprecatedinNumPy1.20; formoredetailsandguidanceseetheoriginalreleasenoteat:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
I guess the fix is as easy as change 'np.float' to 'float' in mesh_elements.py:623, but not sure
The text was updated successfully, but these errors were encountered:
Katterrina
pushed a commit
to Katterrina/ENIGMA
that referenced
this issue
Feb 6, 2024
Hi,
I am having the following error when importing datasets:
I guess the fix is as easy as change 'np.float' to 'float' in mesh_elements.py:623, but not sure
The text was updated successfully, but these errors were encountered: