clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_nmr.cpp
index 28fe1de444bc3f6f21986234f02fda7467498953..035ab0eb11c39427ba60a7f6108adb18117e68e2 100644 (file)
@@ -281,7 +281,7 @@ static int get_bounds(const char *topnm,
     return nb;
 }
 
-static void calc_violations(real rt[], real rav3[], int nb, int index[],
+static void calc_violations(real rt[], real rav3[], int nb, const int index[],
                             real bounds[], real *viol, double *st, double *sa)
 {
     const   real sixth = 1.0/6.0;