Merge branch release-2018
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index 298e67b62d8b7b6488645b67bf958e11d0258d0f..13dbf66bee1f6e713e0464c97bf91be3adead1d0 100644 (file)
@@ -2225,7 +2225,7 @@ int gmx_grompp(int argc, char *argv[])
 
     if (ir->bPull)
     {
-        pull = set_pull_init(ir, &sys, as_rvec_array(state.x.data()), state.box, state.lambda[efptMASS]);
+        pull = set_pull_init(ir, &sys, as_rvec_array(state.x.data()), state.box, state.lambda[efptMASS], wi);
     }
 
     /* Modules that supply external potential for pull coordinates