git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8325 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-06-19 14:20:40 +00:00
parent ba6063c7a3
commit a559ad0c45
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void DihedralHelix::compute(int eflag, int vflag)
if (c < -1.0) c = -1.0;
phi = acos(c);
if (dx < 0.0) phi *= -1.0;
if (dx > 0.0) phi *= -1.0;
si = sin(phi);
if (fabs(si) < SMALLER) si = SMALLER;
siinv = 1.0/si;