From 14107f8ec65fe0b2e51eee4cc24eb1d6481caebe Mon Sep 17 00:00:00 2001 From: yye00 Date: Thu, 9 Sep 2004 22:19:21 +0000 Subject: moved declarations to before assignment git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@42 7daa882c-dc44-4453-834e-278d26b18e6a --- src/local_reductions.h | 6 +++--- 1 file 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) \ { \ -- cgit v1.2.3