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

small obervation on line no 927 in real_intval.py #27

Open
mvnayagam opened this issue Sep 8, 2024 · 0 comments
Open

small obervation on line no 927 in real_intval.py #27

mvnayagam opened this issue Sep 8, 2024 · 0 comments

Comments

@mvnayagam
Copy link

Dear Androsov,
I recently updated intvalpy. I use the latest numpy. Initially I got error

AttributeError: np.float_ was removed in the NumPy 2.0 release. Use np.float64 instead.

I changed the line no 927 in real_intval.py

single_type = (int, float, np.int, np.float_, mpf)

to

single_type = (int, float, int, np.float64, mpf).

after this correction, I got rid of the above error.

Thank you

Best regards
Muthu

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