clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / gmxana / thermochemistry.cpp
index e3d14381018c705904be131ab079842448a7b45f..8327b378e7e9079ea1d68098983f37ee96843b91 100644 (file)
@@ -128,11 +128,11 @@ double calcTranslationalEntropy(real mass,
     return RGAS*(std::log(qT) + 2.5);
 }
 
-double calcRotationalEntropy(real     temperature,
-                             int      natom,
-                             gmx_bool linear,
-                             rvec     theta,
-                             real     sigma_r)
+double calcRotationalEntropy(real       temperature,
+                             int        natom,
+                             gmx_bool   linear,
+                             const rvec theta,
+                             real       sigma_r)
 {
     GMX_RELEASE_ASSERT(sigma_r > 0, "Symmetry factor should be larger than zero");
     GMX_RELEASE_ASSERT(temperature > 0, "Temperature should be larger than zero");