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

AttributeError: np.Inf was removed in the NumPy 2.0 release. Use np.inf instead. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LuLeom
Copy link

@LuLeom LuLeom commented Nov 7, 2024

This pull request includes a small change to the pcurvepy2/pcurve.py file. The change corrects the assignment of the variable d_sq_old to use np.inf instead of np.Inf.

  • pcurvepy2/pcurve.py: Corrected the assignment of d_sq_old to use np.inf instead of np.Inf in the fit method.np.Inf to np.inf allows the package to work again.

`np.Inf` to `np.inf` allows the package to work again
@LuLeom LuLeom changed the title np.Inf to np.inf AttributeError: np.Inf was removed in the NumPy 2.0 release. Use np.inf instead. Nov 7, 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