aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2001-05-10 18:35:47 +0000
committertradke <tradke@d60812e6-3970-4df4-986e-c251b06effeb>2001-05-10 18:35:47 +0000
commit450e0c897f80ad006d86aa7bf7be6f16144ffb1e (patch)
tree1f6bbb534bbe1ca55988bd8b6b92d33a2dc9709d
parentc88b85db08613297493b83ded711fcaa66948e3f (diff)
Get rid of timelevel variable which is constant zero now.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@13 d60812e6-3970-4df4-986e-c251b06effeb
-rw-r--r--src/Reduction.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Reduction.c b/src/Reduction.c
index 23048b4..6316a22 100644
--- a/src/Reduction.c
+++ b/src/Reduction.c
@@ -266,9 +266,7 @@ static int PUGH_ReductionGA (cGH *GH, int index, int proc, CCTK_REAL *outval,
/* get the GA structure for the current timelevel */
- i = 0;
-
- GA = ((pGA ***) PUGH_pGH (GH)->variables)[index][i];
+ GA = ((pGA ***) PUGH_pGH (GH)->variables)[index][0];
/* allocate temporary vectors */
from = (int *) malloc (4 * GA->connectivity->dim * sizeof (int));