aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Reduction.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Reduction.c b/src/Reduction.c
index fac21bb..8b5d62e 100644
--- a/src/Reduction.c
+++ b/src/Reduction.c
@@ -267,10 +267,7 @@ static int PUGH_ReductionGA (cGH *GH, int index, int proc, CCTK_REAL *outval,
/* get the GA structure for the current timelevel */
i = CCTK_NumTimeLevelsFromVarI (index) - 1;
- if (i > 0)
- {
- i--;
- }
+
GA = ((pGA ***) PUGH_pGH (GH)->variables)[index][i];
/* allocate temporary vectors */