Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / mdlib / mdebin.cpp
index 4b7e98650e5fb5cd213457b3a8f3577fd14d03bb..64cfab706060f8a871464dea6f2c6cf24d9195e9 100644 (file)
@@ -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,