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

Check that finite values are given as query to CellList #733

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

padix-key
Copy link
Member

Currently the coord given to CellList.get_atoms() and CellList.get_atoms_in_cells() are not checked, whether they are finite. Although bounds checks are conducted (no out of bounds memory access is possible), it is still possible that atoms from wrong cells are returned. This PR adds a check for non-finite values.

Copy link

codspeed-hq bot commented Jan 6, 2025

CodSpeed Performance Report

Merging #733 will not alter performance

Comparing padix-key:celllist (961959e) with main (fab175e)

Summary

✅ 59 untouched benchmarks

@padix-key padix-key merged commit 6aae94c into biotite-dev:main Jan 23, 2025
28 checks passed
@padix-key padix-key deleted the celllist branch January 24, 2025 11:02
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