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

ENH: avoid particle_index type cast #4996

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrishavlin
Copy link
Contributor

This is a possible fix for #4995 which would affect all the particle frontends that don't override _read_particle_selection.

@chrishavlin chrishavlin marked this pull request as draft September 19, 2024 17:38
@chrishavlin
Copy link
Contributor Author

Converting to draft because this needs some more thorough testing: namely, does this introduce any bugs in cython operations that are expecting float arrays? Only tried it out with a projection and it works (because the int field gets converted to float before the projection), but need to check other functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Making something better index: particle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant