biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge origin/release-2019 into release-2020
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
angle_correction.cpp
diff --git
a/src/gromacs/gmxana/angle_correction.cpp
b/src/gromacs/gmxana/angle_correction.cpp
index aaa687f93aa0ea5e9ff78de19736369b466d21be..3ee9a99542e339aef73bcf8ce03262fd89b3fd00 100644
(file)
--- a/
src/gromacs/gmxana/angle_correction.cpp
+++ b/
src/gromacs/gmxana/angle_correction.cpp
@@
-46,11
+46,11
@@
real correctRadianAngleRange(const real angle)
real correctedAngle = angle;
while (correctedAngle < -M_PI)
{
- correctedAngle += 2
*
M_PI;
+ correctedAngle += 2
*
M_PI;
}
while (correctedAngle >= M_PI)
{
- correctedAngle -= 2
*
M_PI;
+ correctedAngle -= 2
*
M_PI;
}
return correctedAngle;
}