"...drude/serialization/src/DrudeLangevinIntegratorProxy.cpp" did not exist on "644cc275ab5a549a82cce4d49680da729c2051e6"
Commit b0d2357c authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed a bug in identifying molecule groups

parent 22078b69
......@@ -435,7 +435,7 @@ void OpenCLContext::findMoleculeGroups(const System& system) {
double distance1, distance2;
system.getConstraintParameters(mol.constraints[i], c1particle1, c1particle2, distance1);
system.getConstraintParameters(mol2.constraints[i], c2particle1, c2particle2, distance2);
if (c1particle1 != c2particle1-atomOffset || c1particle2 != c2particle2 || distance1 != distance2)
if (c1particle1 != c2particle1-atomOffset || c1particle2 != c2particle2-atomOffset || distance1 != distance2)
identical = false;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment