More const ref in shellfc
[alexxy/gromacs.git] / src / gromacs / mdrun / minimize.cpp
index 33b067bde18f2a084cdd8dcccfc46d584f7b57ef..7c59a560058da0cd06e7bfce55eaadbdb59eae46 100644 (file)
@@ -3222,7 +3222,7 @@ void LegacySimulator::do_nm()
                                         &state_work.s.hist,
                                         &state_work.f.view(),
                                         vir,
-                                        mdatoms,
+                                        *mdatoms,
                                         nrnb,
                                         wcycle,
                                         shellfc,