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