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
clang-tidy: more misc+readability
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_chi.cpp
diff --git
a/src/gromacs/gmxana/gmx_chi.cpp
b/src/gromacs/gmxana/gmx_chi.cpp
index 35adac367f932a87030e9022555b5a54e5377eda..35e1f23c0d481e8e0716a1f34cd5313e80341233 100644
(file)
--- a/
src/gromacs/gmxana/gmx_chi.cpp
+++ b/
src/gromacs/gmxana/gmx_chi.cpp
@@
-130,7
+130,7
@@
static gmx_bool bAllowed(real phi, real psi)
#define NPP asize(map)
int x, y;
-#define INDEX(ppp) (((static_cast<int> (360+
ppp
*RAD2DEG)) % 360)/6)
+#define INDEX(ppp) (((static_cast<int> (360+
(ppp)
*RAD2DEG)) % 360)/6)
x = INDEX(phi);
y = INDEX(psi);
#undef INDEX