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:
@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user