Skip to content

Fix issue 288: use np.inf for numpy v2#298

Closed
jsy wants to merge 1 commit intommatl:masterfrom
jsy:fix-issue-288-numpy-v2
Closed

Fix issue 288: use np.inf for numpy v2#298
jsy wants to merge 1 commit intommatl:masterfrom
jsy:fix-issue-288-numpy-v2

Conversation

@jsy
Copy link

@jsy jsy commented Dec 19, 2024

Search and replaced np.infty for np.inf per error message:

AttributeError: np.infty was removed in the NumPy 2.0 release. Use np.inf instead.

The np.inf is backward compatible with numpy v1.x.

@jsy
Copy link
Author

jsy commented Dec 19, 2024

Nevermind, just saw #292. LOL.

@jsy jsy closed this Dec 19, 2024
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.

1 participant