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

Make total particles a 64 bit integer. #133

Merged
merged 1 commit into from
Jan 26, 2022

Conversation

brittonsmith
Copy link
Member

This prevents integer overflow when the number of particles exceeds the 32 bit signed integer limit. I've tested this out on a dataset producing this error and it works.

Copy link
Member

@matthewturk matthewturk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I wrote that part of the code, and I am genuinely surprised I wrote it that way. I'm sorry!

@brittonsmith
Copy link
Member Author

Let's just say the marginal effort of having fixed this is slightly outweighed by you having written the entire interface.

@brittonsmith brittonsmith merged commit f119632 into yt-project:main Jan 26, 2022
@brittonsmith brittonsmith deleted the i64 branch January 26, 2022 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants