SENPAI-Molecular-Dynamics / SENPAI

Molecular dynamics simulation software
https://senpaimd.org
GNU General Public License v3.0
125 stars 16 forks source link

fix that weird bug #22

Closed gwenya closed 3 years ago

gwenya commented 3 years ago

The function atom_is_bonded accepted the atom IDs as uint8_t, which is too narrow and causes it to check the wrong atoms for high atom IDs. This PR fixes that bug and also unifies all atom IDs to uint64_t.