X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxana%2Fcmat.cpp;h=85b8497eeb680091df722c799c1ac0d240d7bb0b;hb=3a5934fccd489925ab5e80aeb4bf703040137071;hp=ff9aa879073d3375a79bc250ec298e4ebdb11e8d;hpb=6ecd5d46bf94b6ef898e8fac4a7770bd7b2ee5d5;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxana/cmat.cpp b/src/gromacs/gmxana/cmat.cpp index ff9aa87907..85b8497eeb 100644 --- a/src/gromacs/gmxana/cmat.cpp +++ b/src/gromacs/gmxana/cmat.cpp @@ -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(fac*mat[i][j]+0.5); if (x <= 100) { histo[x]++;