diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-06-29 14:21:28 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-06-29 14:21:28 +0000 |
commit | 1473b5bfd8d20112c09ce73ba1b0826cb68cdda0 (patch) | |
tree | 5857002c231d60b6fb37433aaf8f15956d2f4606 /src/comm | |
parent | bc75d2d9d234c9ab01f3e066dae3231f0b92cf1d (diff) |
Bug fix ... I was calculating all reduction operations twice
git-svn-id: http://svn.cactuscode.org/flesh/trunk@606 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/Reduction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comm/Reduction.c b/src/comm/Reduction.c index b70b80ff..aec5fe0c 100644 --- a/src/comm/Reduction.c +++ b/src/comm/Reduction.c @@ -130,7 +130,7 @@ int CCTK_Reduce(cGH *GH, int retvartype, int retvarnum, void *retval, /* Fill in the array of variable indices from the variable argument list */ - invarnum = 1; + invarnum = 0; index_array = (int *)malloc(sizeof(int)); index_array[0] = index; |