OpenBioSim/sire

[BUG] Buffer overflow causes inconsistent number of ghost-ghost exclusions

Closed this issue · 0 comments

When working out the molecule indices for the from-ghost and to-ghost atoms to exclude interactions between them (when they are in the same molecule) the loop indexes past the end of the start_indexes vector, causing memory corruption. This leads to an inconsistent number of exclusions in the force field from run-to-run.