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

refactor: replace NaN and Inf with their lowercase equivalents to fit numpy version >= 2.0 #15

Merged
merged 1 commit into from
Feb 17, 2025

Conversation

BHM-Bob
Copy link
Contributor

@BHM-Bob BHM-Bob commented Feb 17, 2025

  • np.Inf was removed in the NumPy 2.0 release. Use np.inf instead.
  • np.Inf was removed in the NumPy 2.0 release. Use np.inf instead.

I have tested on numpy 1.26.3 and 2.2.0, both are OK.

@djmaity djmaity merged commit ad3fc1c into djmaity:master Feb 17, 2025
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

Successfully merging this pull request may close these issues.

2 participants