summaryrefslogtreecommitdiff
path: root/src/comm
diff options
context:
space:
mode:
Diffstat (limited to 'src/comm')
-rw-r--r--src/comm/Reduction.c2
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;