aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ReduceGA.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReduceGA.c b/src/ReduceGA.c
index 0a6b752..b63c233 100644
--- a/src/ReduceGA.c
+++ b/src/ReduceGA.c
@@ -257,7 +257,7 @@ static int ReduceGridArrays (const cGH *GH,
}
/* Create the parameter table if it is not there and add the bounds to it */
- if ( Util_TableQueryNKeys(param_table_handle) == 0)
+ if ( Util_TableQueryNKeys(param_table_handle) > 0)
{
created_local_par_table = 1;
param_table_handle = Util_TableCreate (UTIL_TABLE_FLAGS_DEFAULT);