From 279b46401ca0218134d46bb7c06000ff32362519 Mon Sep 17 00:00:00 2001 From: yye00 Date: Wed, 19 Oct 2005 22:28:25 +0000 Subject: best parameter table checking is now added git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@72 d60812e6-3970-4df4-986e-c251b06effeb --- src/ReduceGA.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3