More const ref in shellfc
[alexxy/gromacs.git] / src / gromacs / mdrun / md.cpp
index d577f3b08d513ca64bf1ca86afcbdcece6a6b437..77d3641a6db22983f2f0021d84de954a329f1b15 100644 (file)
@@ -1145,7 +1145,7 @@ void gmx::LegacySimulator::do_md()
                                 &state->hist,
                                 &f.view(),
                                 force_vir,
-                                mdatoms,
+                                *mdatoms,
                                 nrnb,
                                 wcycle,
                                 shellfc,