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

Ensure that np.prod returns a 64-bit integer #206

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

rayosborn
Copy link
Contributor

  • On some systems, np.prod returns a 32-bit integer, which causes overflow issues for large arrays. This ensures that a 64-bit integer is used.

This can cause overflow issues when checking the size of large arrays.
@rayosborn rayosborn merged commit 7602b93 into nexpy:main Dec 14, 2023
12 checks passed
@rayosborn rayosborn deleted the fix-size-calculations branch December 14, 2023 20:34
@rayosborn
Copy link
Contributor Author

This fixes #204.

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