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;
case DX:
ptr[n] = delx*directionCorrection;
break;
case DY:
ptr[n] = dely*directionCorrection;
break;
case DZ:
ptr[n] = delz*directionCorrection;
break;
case ENG:
ptr[n] = eng;
break;