Merge branch 'master' into pygromacs
[alexxy/gromacs.git] / src / gromacs / gmxana / cmat.cpp
index ff9aa879073d3375a79bc250ec298e4ebdb11e8d..85b8497eeb680091df722c799c1ac0d240d7bb0b 100644 (file)
@@ -220,7 +220,7 @@ void low_rmsd_dist(const char *fn, real maxrms, int nn, real **mat,
     {
         for (j = i+1; j < nn; j++)
         {
-            x = (int)(fac*mat[i][j]+0.5);
+            x = static_cast<int>(fac*mat[i][j]+0.5);
             if (x <= 100)
             {
                 histo[x]++;