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

Fix Numpy Alias Warnings #238

Open
Witchblade101 opened this issue May 11, 2022 · 1 comment
Open

Fix Numpy Alias Warnings #238

Witchblade101 opened this issue May 11, 2022 · 1 comment

Comments

@Witchblade101
Copy link
Collaborator

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.

@Witchblade101
Copy link
Collaborator Author

aperture.py already specifies 64-bit ints and floats, so I'll change everything else to match.

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