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

np.float_ will be hard error in NumPy 2.0 #164

Open
zm711 opened this issue Sep 22, 2023 · 0 comments
Open

np.float_ will be hard error in NumPy 2.0 #164

zm711 opened this issue Sep 22, 2023 · 0 comments

Comments

@zm711
Copy link
Contributor

zm711 commented Sep 22, 2023

Hey Alessio,

There's one more hard error coming in NumPy 2.0 where np.float_ will no longer be allowed. I didn't want to touch it in this function

if isinstance(v, np.float_):

because you might need to jump through some hoops to keep backward compatibility along with forward compatibility, but just wanted to put it on your radar.

@zm711 zm711 changed the title np.float_ will be hard error np.float_ will be hard error in NumPy 2.0 Sep 22, 2023
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