aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{