aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/surface_integral.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/surface_integral.c b/src/surface_integral.c
index 6886981..91f4995 100644
--- a/src/surface_integral.c
+++ b/src/surface_integral.c
@@ -19,8 +19,8 @@
#define PI 3.1415926535897932384626433832795028841971693993751058209749445923
-CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh,
- CCTK_REAL *cctk_delta_space, CCTK_INT ghost,
+CCTK_INT find_closest(const cGH *cctkGH, const CCTK_INT *cctk_lsh,
+ const CCTK_REAL *cctk_delta_space, CCTK_INT ghost,
CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir);
void ADMMass_Surface(CCTK_ARGUMENTS);
@@ -34,8 +34,8 @@ void ADMMass_Surface_Lapse_Global(CCTK_ARGUMENTS);
-CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh,
- CCTK_REAL *cctk_delta_space, CCTK_INT ghost,
+CCTK_INT find_closest(const cGH *cctkGH, const CCTK_INT *cctk_lsh,
+ const CCTK_REAL *cctk_delta_space, CCTK_INT ghost,
CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir)
{
CCTK_INT i, ijk, min_i = -1;