diff options
author | yye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a> | 2004-09-09 22:19:21 +0000 |
---|---|---|
committer | yye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a> | 2004-09-09 22:19:21 +0000 |
commit | 14107f8ec65fe0b2e51eee4cc24eb1d6481caebe (patch) | |
tree | a936b55e46c2a62ccceed6d7ba0853d450c626e2 | |
parent | 4dc4cc1abbba26255a20687642017e358cf8e124 (diff) |
moved declarations to before assignment
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@42 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r-- | src/local_reductions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/local_reductions.h b/src/local_reductions.h index 019651a..31d7c93 100644 --- a/src/local_reductions.h +++ b/src/local_reductions.h @@ -25,12 +25,12 @@ extern "C" { #define ITERATE_ON_ARRAY(i,cctk_type, in_data, out_type, out_num, mask_on,input_array_offset, indices, sum_indices, max_iter, iter, flag, actual_indices,input_array_strides, input_array_min_subscripts,product) \ { \ - iter = 0; \ - sum_indices = 0; \ - num_points = 1; \ const cctk_type * typed_vdata = (const cctk_type *)(in_data); \ out_type inval; \ out_type * outval = (out_type *) out_num; \ + iter = 0; \ + sum_indices = 0; \ + num_points = 1; \ REDUCTION_INITIAL( * outval) \ if ( mask_on == 1) \ { \ |