Fix segfault in pull reading
[alexxy/gromacs.git] / src / gromacs / applied_forces / awh / read_params.h
index 7da77f1fdd49758cd9a96684933666ba0a269b91..bb1cd63fa9cdd5289d33125ff266c1ad16cda8bd 100644 (file)
@@ -96,7 +96,7 @@ void checkAwhParams(const AwhParams* awhParams, const t_inputrec* inputrec, warn
  * \note This function currently relies on the function set_pull_init to have been called.
  */
 void setStateDependentAwhParams(AwhParams*           awhParams,
-                                const pull_params_t* pull_params,
+                                const pull_params_t& pull_params,
                                 pull_t*              pull_work,
                                 const matrix         box,
                                 PbcType              pbcType,