Use ArrayRef in signatures of constraints and some pulling
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index a6d17f12b00899c4ffa78d123697e3149696ae13..85f6e376cc52a6cf14ee207ec476816ada8116a1 100644 (file)
@@ -2391,12 +2391,8 @@ int gmx_grompp(int argc, char* argv[])
 
     if (ir->bPull)
     {
-        pull = set_pull_init(ir,
-                             sys,
-                             state.x.rvec_array(),
-                             state.box,
-                             state.lambda[FreeEnergyPerturbationCouplingType::Mass],
-                             wi);
+        pull = set_pull_init(
+                ir, sys, state.x, state.box, state.lambda[FreeEnergyPerturbationCouplingType::Mass], wi);
     }
 
     /* Modules that supply external potential for pull coordinates