Merge branch 'release-4-5-patches' into release-4-6
[alexxy/gromacs.git] / src / kernel / runner.c
index 8c640098d2c9f5ff2841f95d0944ed618822c225..cbcabb00586ece78e6fc85c6fc7efca2b3bfb612 100644 (file)
@@ -1521,7 +1521,7 @@ int mdrunner(gmx_hw_opt_t *hw_opt,
     snew(fcd,1);
 
     /* This needs to be called before read_checkpoint to extend the state */
-    init_disres(fplog,mtop,inputrec,cr,Flags & MD_PARTDEC,fcd,state);
+    init_disres(fplog,mtop,inputrec,cr,Flags & MD_PARTDEC,fcd,state, repl_ex_nst > 0);
 
     if (gmx_mtop_ftype_count(mtop,F_ORIRES) > 0)
     {