Skip to content

Change occurrences of np.float_ to np.float64 as it has been removed in numpy>2.0.0 #288

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

denizberkin
Copy link

Changed all occurrences, afaik.
Should work with versions of python>=3.10 and numpy>2.0.0.

  • preferred np.float64 because of high range, this can be changed in the case of needing performance without a high range limitation.
  • some type-checking further on became obsolete because of the change forcing the data type to np.float64. (e.g. type(data) in [np.float64, np.float32])

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