aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a>2004-08-30 19:37:52 +0000
committeryye00 <yye00@7daa882c-dc44-4453-834e-278d26b18e6a>2004-08-30 19:37:52 +0000
commitae9617f268e2247890bc240c4ec43fc4484b5e59 (patch)
tree9ad0282607d932d4658744d06666cc97cbdc1a49
parent8913a21ca51af0664ae90e4520349749c9b023a1 (diff)
moved fix from one place to another
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@37 7daa882c-dc44-4453-834e-278d26b18e6a
-rw-r--r--src/ReductionCount.c2
-rw-r--r--src/ReductionMax.c2
-rw-r--r--src/ReductionMin.c2
-rw-r--r--src/ReductionSum.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/src/ReductionCount.c b/src/ReductionCount.c
index bbb25cd..9ee492e 100644
--- a/src/ReductionCount.c
+++ b/src/ReductionCount.c
@@ -1228,6 +1228,8 @@ static int ReductionCount (int N_dims, int operator_handle,
#endif
}
}
+
+ num_points--;
/* store the number of points in the paramater table */
if ( Util_TableQueryNKeys(param_table_handle) != 0)
diff --git a/src/ReductionMax.c b/src/ReductionMax.c
index 8ef32f6..8e79338 100644
--- a/src/ReductionMax.c
+++ b/src/ReductionMax.c
@@ -1229,6 +1229,8 @@ static int ReductionMax (int N_dims, int operator_handle,
#endif
}
}
+
+ num_points--;
/* store the number of points in the paramater table */
if ( Util_TableQueryNKeys(param_table_handle) != 0)
diff --git a/src/ReductionMin.c b/src/ReductionMin.c
index 6e78e90..10f3944 100644
--- a/src/ReductionMin.c
+++ b/src/ReductionMin.c
@@ -1226,6 +1226,8 @@ static int ReductionMin (int N_dims, int operator_handle,
}
}
+ num_points--;
+
/* store the number of points in the paramater table */
if ( Util_TableQueryNKeys(param_table_handle) != 0)
{
diff --git a/src/ReductionSum.c b/src/ReductionSum.c
index fac4c79..e30d4c7 100644
--- a/src/ReductionSum.c
+++ b/src/ReductionSum.c
@@ -1226,6 +1226,8 @@ static int ReductionSum (int N_dims, int operator_handle,
}
}
+ num_points--;
+
/* store the number of points in the paramater table */
if ( Util_TableQueryNKeys(param_table_handle) != 0)
{