Skip to content

Fix atom sorting and desync issue with unit test#33

Merged
AsymmetryChou merged 2 commits into
deepmodeling:mainfrom
AsymmetryChou:sort_bug
Jul 5, 2026
Merged

Fix atom sorting and desync issue with unit test#33
AsymmetryChou merged 2 commits into
deepmodeling:mainfrom
AsymmetryChou:sort_bug

Conversation

@AsymmetryChou

@AsymmetryChou AsymmetryChou commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

For issue #32.
Sort the atoms' positions and species to prevent desynchronization, ensuring the integrity of the Hamiltonian.
Add a unit test to verify that species remain attached to their coordinates after sorting.

@AsymmetryChou AsymmetryChou merged commit 3c8d92d into deepmodeling:main Jul 5, 2026
1 check passed
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