Make the restraint history const during force calculation
[alexxy/gromacs.git] / src / gromacs / listed_forces / orires.h
index 37065e8be559164e7f12ac6204bc5e3322edde0e..0ad20a07af2fe112c18d71fa2bd3ae46e2d9c960 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
  * Copyright (c) 2010,2014,2015,2017,2018 by the GROMACS development team.
- * Copyright (c) 2019,2020, by the GROMACS development team, led by
+ * Copyright (c) 2019,2020,2021, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -94,7 +94,7 @@ real calc_orires_dev(const gmx_multisim_t*          ms,
                      const rvec                     x[],
                      const t_pbc*                   pbc,
                      t_oriresdata*                  oriresdata,
-                     history_t*                     hist);
+                     const history_t*               hist);
 
 /*! \brief
  * Diagonalizes the order tensor(s) of the orienation restraints.