biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_nmr.cpp
diff --git
a/src/gromacs/gmxana/gmx_nmr.cpp
b/src/gromacs/gmxana/gmx_nmr.cpp
index 28fe1de444bc3f6f21986234f02fda7467498953..035ab0eb11c39427ba60a7f6108adb18117e68e2 100644
(file)
--- a/
src/gromacs/gmxana/gmx_nmr.cpp
+++ b/
src/gromacs/gmxana/gmx_nmr.cpp
@@
-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;