diff options
author | knarf <knarf@7daa882c-dc44-4453-834e-278d26b18e6a> | 2012-12-05 14:48:23 +0000 |
---|---|---|
committer | knarf <knarf@7daa882c-dc44-4453-834e-278d26b18e6a> | 2012-12-05 14:48:23 +0000 |
commit | 543765e374961346d8bbca2adbf41ea178d369ec (patch) | |
tree | 4676de2f19e4885364a7ff6754a6e49ea12d0862 | |
parent | d55e204e11b8f787d517fc1eff5345160913f1c0 (diff) |
properly declare pointer as const in ITERATE_ON_ARRAY
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/LocalReduce/trunk@95 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r-- | src/local_reductions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/local_reductions.h b/src/local_reductions.h index 533eef6..89d5e90 100644 --- a/src/local_reductions.h +++ b/src/local_reductions.h @@ -28,7 +28,7 @@ extern "C" { { \ const cctk_type * typed_vdata = (const cctk_type *)(in_data); \ out_type inval; \ - out_type * outval = (out_type *) out_num; \ + out_type * outval = (const out_type *) out_num; \ iter = 0; \ sum_indices = 0; \ num_points = 1; \ |