clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / ewald / pme-redistribute.cpp
index 82407d4c648ad759afdb25dc62d401eb0644e6be..045646a4ad4cad7b103a3e9636672fdad0f8bda3 100644 (file)
@@ -258,7 +258,7 @@ static void pme_dd_sendrecv(pme_atomcomm_t gmx_unused *atc,
 }
 
 static void dd_pmeredist_pos_coeffs(struct gmx_pme_t *pme,
-                                    int n, gmx_bool bX, rvec *x, real *data,
+                                    int n, gmx_bool bX, rvec *x, const real *data,
                                     pme_atomcomm_t *atc)
 {
     int *commnode, *buf_index;