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 branch 'master' into pygromacs
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
cmat.cpp
diff --git
a/src/gromacs/gmxana/cmat.cpp
b/src/gromacs/gmxana/cmat.cpp
index ff9aa879073d3375a79bc250ec298e4ebdb11e8d..85b8497eeb680091df722c799c1ac0d240d7bb0b 100644
(file)
--- 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<int>
(fac*mat[i][j]+0.5);
if (x <= 100)
{
histo[x]++;