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
/
mdlib
/
mdebin.cpp
diff --git
a/src/gromacs/mdlib/mdebin.cpp
b/src/gromacs/mdlib/mdebin.cpp
index a238548b92939248df2bd9b599357c1b21544790..42e8976b45ff62a83e748164c9f1fbe2e1dda834 100644
(file)
--- a/
src/gromacs/mdlib/mdebin.cpp
+++ b/
src/gromacs/mdlib/mdebin.cpp
@@
-883,7
+883,7
@@
extern FILE *open_dhdl(const char *filename, const t_inputrec *ir,
return fp;
}
-static void copy_energy(t_mdebin *md, real e[], real ecpy[])
+static void copy_energy(t_mdebin *md,
const
real e[], real ecpy[])
{
int i, j;