add missing break statements.

@GenieTim this bug may have tainted your results. you would always get the energy value for any of the dx, dy, dz keywords
This commit is contained in:
Axel Kohlmeyer
2022-01-22 17:13:54 -05:00
parent 81e7583a8d
commit cd16556256

View File

@ -277,10 +277,13 @@ int ComputePairLocal::compute_pairs(int flag)
break; break;
case DX: case DX:
ptr[n] = delx*directionCorrection; ptr[n] = delx*directionCorrection;
break;
case DY: case DY:
ptr[n] = dely*directionCorrection; ptr[n] = dely*directionCorrection;
break;
case DZ: case DZ:
ptr[n] = delz*directionCorrection; ptr[n] = delz*directionCorrection;
break;
case ENG: case ENG:
ptr[n] = eng; ptr[n] = eng;
break; break;