one more whitespace fix

This commit is contained in:
Axel Kohlmeyer 2020-04-15 14:29:37 -04:00
parent adf9602ae3
commit c5f6b5c687
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 2 deletions

View File

@ -382,11 +382,11 @@ void FixRestrain::restrain_lbound(int m)
rk = k * dr;
// force & energy
if (dr < 0) {
if (r > 0.0) fbond = -2.0*rk/r;
else fbond = 0.0;
elbound += rk*dr;
energy += rk*dr;
} else {