Unverified Commit 96cdfc0b authored by Samarjeet's avatar Samarjeet Committed by GitHub
Browse files

fixing a small bug in langevin integrator delta (#3147)

parent 9d931c1b
......@@ -63,8 +63,8 @@ KERNEL void integrateLangevinPart2(int numAtoms, GLOBAL real4* RESTRICT posq, GL
vel.z = (mixed) (invStepSize*delta.z);
#else
vel.x = invStepSize*delta.x + correction*delta.x;
vel.y = invStepSize*delta.y + correction*delta.x;
vel.z = invStepSize*delta.z + correction*delta.x;
vel.y = invStepSize*delta.y + correction*delta.y;
vel.z = invStepSize*delta.z + correction*delta.z;
#endif
#ifdef USE_MIXED_PRECISION
posq[index] = make_real4((real) pos.x, (real) pos.y, (real) pos.z, (real) pos.w);
......
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