Use more const ref in domdec API
[alexxy/gromacs.git] / src / gromacs / domdec / partition.cpp
index 789dc73522f509487a8bf40d2c3bd80b97c4867b..c6a40d3c7b5aef0b9ee89ffc2be9f410aff2c462 100644 (file)
@@ -3294,8 +3294,8 @@ void dd_partition_system(FILE*                     fplog,
                                 mdatoms->sqrt_c6B,
                                 mdatoms->sigmaA,
                                 mdatoms->sigmaB,
-                                dd_pme_maxshift_x(dd),
-                                dd_pme_maxshift_y(dd));
+                                dd_pme_maxshift_x(*dd),
+                                dd_pme_maxshift_y(*dd));
     }
 
     if (dd->atomSets != nullptr)