diff options
author | yye00 <yye00@d60812e6-3970-4df4-986e-c251b06effeb> | 2004-11-03 16:55:22 +0000 |
---|---|---|
committer | yye00 <yye00@d60812e6-3970-4df4-986e-c251b06effeb> | 2004-11-03 16:55:22 +0000 |
commit | 890fba807688feb753b273453ad898e3c4fe0cda (patch) | |
tree | 47baa1d6aebc32fc7062393b8aa46e445906048f | |
parent | 1a1138415be2f66fe0e954a1b4cc78a93407fffe (diff) |
use var index instead group index, fix from Ian Hawke
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@58 d60812e6-3970-4df4-986e-c251b06effeb
-rw-r--r-- | src/ReduceGA.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c index fcd3c86..4de66f1 100644 --- a/src/ReduceGA.c +++ b/src/ReduceGA.c @@ -189,8 +189,8 @@ static int ReduceGridArrays (const cGH *GH, } /* fill out the dimensions of the input arrays */ - ierr = CCTK_GrouplbndVI(GH, dim, lower_array_bounds, CCTK_GroupIndexFromVarI(input_array_variable_indices[0]) ); - ierr = CCTK_GroupubndVI(GH, dim, upper_array_bounds, CCTK_GroupIndexFromVarI(input_array_variable_indices[0]) ); + ierr = CCTK_GrouplbndVI(GH, dim, lower_array_bounds, input_array_variable_indices[0] ); + ierr = CCTK_GroupubndVI(GH, dim, upper_array_bounds, input_array_variable_indices[0] ); /* incement max subscript to use < instead of <= */ for ( i=0; i < dim; i++) |