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
/
mdlib
/
mdebin.cpp
diff --git
a/src/gromacs/mdlib/mdebin.cpp
b/src/gromacs/mdlib/mdebin.cpp
index 4b7e98650e5fb5cd213457b3a8f3577fd14d03bb..64cfab706060f8a871464dea6f2c6cf24d9195e9 100644
(file)
--- a/
src/gromacs/mdlib/mdebin.cpp
+++ b/
src/gromacs/mdlib/mdebin.cpp
@@
-1195,7
+1195,7
@@
void upd_mdebin(t_mdebin *md,
store_energy = enerd->term[F_ETOT];
/* store_dh is dE */
mde_delta_h_coll_add_dh(md->dhc,
-
(double)state->fep_state
,
+
static_cast<double>(state->fep_state)
,
store_energy,
pv,
store_dhdl,