clang-tidy: more misc+readability
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_chi.cpp
index 35adac367f932a87030e9022555b5a54e5377eda..35e1f23c0d481e8e0716a1f34cd5313e80341233 100644 (file)
@@ -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