Use const ref to inputrec in do_force
[alexxy/gromacs.git] / src / gromacs / mdrun / tpi.cpp
index f468251ef9c59baf9951f492fc21fa329f11eedc..7a41750ed420600fc377c25a3d023e9af4d710d8 100644 (file)
@@ -770,7 +770,7 @@ void LegacySimulator::do_tpi()
             do_force(fplog,
                      cr,
                      ms,
-                     inputrec,
+                     *inputrec,
                      nullptr,
                      nullptr,
                      imdSession,