diff options
-rw-r--r-- | src/ReduceGA.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c index 5e4e9ac..e5ed021 100644 --- a/src/ReduceGA.c +++ b/src/ReduceGA.c @@ -196,7 +196,7 @@ static int ReduceGridArrays (const cGH *GH, for (i = 0; i<dim; i++) { - input_array_dims[i] = upper_array_bounds[i] - lower_array_bounds[i] + 1; + input_array_dims[i] = upper_array_bounds[i] - lower_array_bounds[i]; } /* Set flag to tell local reduction not to divide by num_points */ |