More const ref in shellfc
[alexxy/gromacs.git] / src / gromacs / domdec / mdsetup.cpp
index c2fd29ccb368d7973f197206b4b44e86d4969954..ccf793b0bd7088f25841b0422862ae151c61c746 100644 (file)
@@ -128,7 +128,7 @@ void mdAlgorithmsSetupAtomData(const t_commrec*     cr,
      */
     if (!usingDomDec && shellfc)
     {
-        make_local_shells(cr, mdatoms, shellfc);
+        make_local_shells(cr, *mdatoms, shellfc);
     }
 
     for (auto& listedForces : fr->listedForces)