aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@d60812e6-3970-4df4-986e-c251b06effeb>2001-04-18 20:36:11 +0000
committerallen <allen@d60812e6-3970-4df4-986e-c251b06effeb>2001-04-18 20:36:11 +0000
commitb3aa1a4ed05cb594d59b4616b4e93c5b7cbf895a (patch)
tree14afad3d5c67e487e8e423fbebc3aaa520c28cfa
parentd55298b845e80f2e46248f000d4770f939b7d8e1 (diff)
Change timelevel index used for reductions
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@9 d60812e6-3970-4df4-986e-c251b06effeb
-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 */