Commit deebf493 authored by peastman's avatar peastman
Browse files

Merge pull request #631 from peastman/master

Fixed uninitialized memory error
parents 751ff079 ce5559f2
......@@ -338,6 +338,11 @@ void CpuGBSAOBCForce::threadComputeForce(ThreadPool& threads, int threadIndex) {
atomz[i] = posq[4*atomIndex+2];
blockMask[i] = 0xFFFFFFFF;
}
for (int i = numInBlock; i < 4; i++) {
atomx[i] = 0.0f;
atomy[i] = 0.0f;
atomz[i] = 0.0f;
}
fvec4 offsetRadiusI(atomRadius);
fvec4 x(atomx);
fvec4 y(atomy);
......
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