Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

module 'numpy' has no attribute 'float' #103

Open
dm-makarov opened this issue Sep 5, 2024 · 0 comments
Open

module 'numpy' has no attribute 'float' #103

dm-makarov opened this issue Sep 5, 2024 · 0 comments

Comments

@dm-makarov
Copy link

The checks.py uses a dtype alias deprecated in the current version of Numpy.
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations

def _dtype_float(data):
    """ True if the values in the array are floating point"""
    return data.dtype == np.float

Should be float or np.float_.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant