-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix Numpy Alias Warnings #238
Comments
aperture.py already specifies 64-bit ints and floats, so I'll change everything else to match. |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The pytest output for our tests are overwhelmed with warnings about the deprecation of np.int and np.float as aliases for builtin int and float. The change in Numpy is documented in https://numpy.org/devdocs/release/1.20.0-notes.html .
I suggest we change np.int to np.int64 and np.float to np.float64, unless there's a strong reason to have 32bit support.
The text was updated successfully, but these errors were encountered: