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

numpy 2 breaking changes #51

Open
filefolder opened this issue Jan 14, 2025 · 0 comments
Open

numpy 2 breaking changes #51

filefolder opened this issue Jan 14, 2025 · 0 comments

Comments

@filefolder
Copy link

filefolder commented Jan 14, 2025

Hi Malcolm / anyone else finally upgrading their system

FYI for numpy 2.0 there seems to be only one minor edit needed, np.infty is now np.inf. Aside from adding the parallel definitions in fields.cpp only need to address line 435 in fields.pyx. I think np.inf exists in numpy 1.26 as well so possibly worth it to just swap it completely (?)

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