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
Fix part of old-style casting
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_msd.cpp
diff --git
a/src/gromacs/gmxana/gmx_msd.cpp
b/src/gromacs/gmxana/gmx_msd.cpp
index 6818ac285589168ab1f1c93aaeb13c95d9507512..9f23157d2fed8ee14aefddc64f52d0cd7c453ef1 100644
(file)
--- a/
src/gromacs/gmxana/gmx_msd.cpp
+++ b/
src/gromacs/gmxana/gmx_msd.cpp
@@
-117,7
+117,7
@@
static t_corr *init_corr(int nrgrp, int type, int axis, real dim_factor,
int i;
snew(curr, 1);
- curr->type =
(msd_type)type
;
+ curr->type =
static_cast<msd_type>(type)
;
curr->axis = axis;
curr->ngrp = nrgrp;
curr->nrestart = 0;