clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / genconf.cpp
index 1c0275bc8cbaa4e7a38bd12b4311ac1e28f807a8..4e67d0ea895cf3e7e9135d233f73fc574307d211 100644 (file)
@@ -55,7 +55,7 @@
 #include "gromacs/utility/smalloc.h"
 
 static void rand_rot(int natoms, rvec x[], rvec v[], vec4 xrot[], vec4 vrot[],
-                     gmx::DefaultRandomEngine * rng, rvec max_rot)
+                     gmx::DefaultRandomEngine * rng, const rvec max_rot)
 {
     mat4 mt1, mt2, mr[DIM], mtemp1, mtemp2, mtemp3, mxtot, mvtot;
     rvec xcm;