Use const ref to inputrec in do_force
[alexxy/gromacs.git] / src / gromacs / essentialdynamics / edsam.h
index e5d03a3f960d699453c5f2f15a1c62dd9cc8c26e..f9bf69246927a6134b30f186f34cea901458251a 100644 (file)
@@ -161,7 +161,7 @@ void dd_make_local_ed_indices(gmx_domdec_t* dd, gmx_edsam* ed);
  * \param bNS               Are we in a neighbor searching step?
  */
 void do_flood(const t_commrec*  cr,
-              const t_inputrec* ir,
+              const t_inputrec& ir,
               const rvec        x[],
               rvec              force[],
               gmx_edsam*        ed,