aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryye00 <yye00@d60812e6-3970-4df4-986e-c251b06effeb>2005-10-19 22:28:25 +0000
committeryye00 <yye00@d60812e6-3970-4df4-986e-c251b06effeb>2005-10-19 22:28:25 +0000
commit279b46401ca0218134d46bb7c06000ff32362519 (patch)
treec0634f3f14144caf7c95670e7a6b0466d75798aa
parent7271151af14e7274ce215c309ab29c1738839bf1 (diff)
best parameter table checking is now added
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHReduce/trunk@72 d60812e6-3970-4df4-986e-c251b06effeb
-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);