Move implementation to cpp file
[alexxy/gromacs.git] / src / gromacs / mdrun / rerun.cpp
index 8b83a92f5a36fb13779d391da6fbd55767d1d967..137e2d75c8b980ac06f0cb5e71434c3f129200ef 100644 (file)
@@ -288,7 +288,7 @@ void gmx::LegacySimulator::do_rerun()
                                    StartingBehavior::NewSimulation, simulationsShareState, ms);
     gmx::EnergyOutput energyOutput(mdoutf_get_fp_ene(outf), top_global, ir, pull_work,
                                    mdoutf_get_fp_dhdl(outf), true, StartingBehavior::NewSimulation,
-                                   mdModulesNotifier);
+                                   simulationsShareState, mdModulesNotifier);
 
     gstat = global_stat_init(ir);