clang-tidy: readability-non-const-parameter (2/2)
[alexxy/gromacs.git] / src / gromacs / ewald / pme-gather.h
index fdee72a41b1ab71b6e4ddf2083b769a5adf6818f..864eda3be218f6aba195afcce8b02298cfe576ee 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2017,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -46,7 +46,7 @@ gather_f_bsplines(const struct gmx_pme_t *pme, const real *grid,
                   real scale);
 
 real
-gather_energy_bsplines(struct gmx_pme_t *pme, real *grid,
+gather_energy_bsplines(struct gmx_pme_t *pme, const real *grid,
                        pme_atomcomm_t *atc);
 
 #endif