aboutsummaryrefslogtreecommitdiff
path: root/src/local_reductions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/local_reductions.h')
-rw-r--r--src/local_reductions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local_reductions.h b/src/local_reductions.h
index 5f3f5e3..7ed8446 100644
--- a/src/local_reductions.h
+++ b/src/local_reductions.h
@@ -28,7 +28,7 @@ extern "C" {
iter = 0; \
sum_indices = 0; \
num_points = 1; \
- const cctk_type *typed_vdata = (cctk_type *)(in_data); \
+ const cctk_type * typed_vdata = (const cctk_type *)(in_data); \
out_type inval; \
out_type * outval = (out_type *) out_num; \
REDUCTION_INITIAL( * outval) \