Use const ref to inputrec in do_force
[alexxy/gromacs.git] / src / gromacs / mdrun / mimic.cpp
index bae23f3d25fc59dd125229e42f0e67a5d6ac29c8..5e996d769b067297f1193eb96f1b1bd30648f3b4 100644 (file)
@@ -567,7 +567,7 @@ void gmx::LegacySimulator::do_mimic()
             do_force(fplog,
                      cr,
                      ms,
-                     ir,
+                     *ir,
                      awh,
                      enforcedRotation,
                      imdSession,