Make the restraint history const during force calculation
[alexxy/gromacs.git] / src / gromacs / mdrun / shellfc.cpp
index 9943027574b6975fa1893a5a3e58bdc82dc2baa2..38b68d157ace0627e76648f2f1b7a8f7cba06352 100644 (file)
@@ -976,7 +976,7 @@ void relax_shell_flexcon(FILE*                         fplog,
                          ArrayRefWithPadding<RVec>     vPadded,
                          const matrix                  box,
                          ArrayRef<real>                lambda,
-                         history_t*                    hist,
+                         const history_t*              hist,
                          gmx::ForceBuffersView*        f,
                          tensor                        force_vir,
                          const t_mdatoms*              md,