Unverified Commit dfb8d755 authored by Peter Eastman's avatar Peter Eastman Committed by GitHub
Browse files

Fixed a bug in computing pressure (#4924)

parent e8e4694d
...@@ -106,5 +106,6 @@ KERNEL void computeMolecularKineticEnergy(int numMolecules, GLOBAL mixed4* RESTR ...@@ -106,5 +106,6 @@ KERNEL void computeMolecularKineticEnergy(int numMolecules, GLOBAL mixed4* RESTR
} }
if (LOCAL_ID == 0) if (LOCAL_ID == 0)
buffers[j][GROUP_ID] = tempBuffer[0]; buffers[j][GROUP_ID] = tempBuffer[0];
SYNC_THREADS;
} }
} }
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