clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / gmxana / nsfactor.cpp
index d05c9b616212e6f0d12a948c477bd41618f54e79..647d5deb0af4cea38dde91d2439dab69d5fa6286 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016,2017,2018, 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.
@@ -190,16 +190,16 @@ gmx_sans_t *gmx_sans_init (const t_topology *top, gmx_neutron_atomic_structurefa
 }
 
 gmx_radial_distribution_histogram_t *calc_radial_distribution_histogram (
-        gmx_sans_t  *gsans,
-        rvec        *x,
-        matrix       box,
-        int         *index,
-        int          isize,
-        double       binwidth,
-        gmx_bool     bMC,
-        gmx_bool     bNORM,
-        real         mcover,
-        unsigned int seed)
+        gmx_sans_t        *gsans,
+        rvec              *x,
+        matrix             box,
+        const int         *index,
+        int                isize,
+        double             binwidth,
+        gmx_bool           bMC,
+        gmx_bool           bNORM,
+        real               mcover,
+        unsigned int       seed)
 {
     gmx_radial_distribution_histogram_t    *pr = nullptr;
     rvec                                    dist;