From ae9617f268e2247890bc240c4ec43fc4484b5e59 Mon Sep 17 00:00:00 2001 From: yye00 Date: Mon, 30 Aug 2004 19:37:52 +0000 Subject: moved fix from one place to another git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/LocalReduce/trunk@37 7daa882c-dc44-4453-834e-278d26b18e6a --- src/ReductionCount.c | 2 ++ src/ReductionMax.c | 2 ++ src/ReductionMin.c | 2 ++ src/ReductionSum.c | 2 ++ 4 files changed, 8 insertions(+) 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) { -- cgit v1.2.3