From b2269badd907bef8c8091a40e9430ef5f3fc2fd8 Mon Sep 17 00:00:00 2001 From: cott Date: Thu, 7 Jan 2010 16:08:47 +0000 Subject: * Fix small bug in logic handling pointwise calls on arrays: n_entries >= (FnList.Fns[call_number]).n_deps changed to n_entries > (FnList.Fns[call_number]).n_deps . git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/EOSG_Base/trunk@3 e77735cb-7dd8-4a7a-87c7-7cc99eb84b11 --- src/EOSBase_Register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EOSBase_Register.c b/src/EOSBase_Register.c index 3275c85..ea5ab73 100755 --- a/src/EOSBase_Register.c +++ b/src/EOSBase_Register.c @@ -654,7 +654,7 @@ CCTK_INT SetupCall(CCTK_INT table_handle) CCTK_WARN(0, "The dependent arrays in a direct " "array call must be passed as as a CCTK_POINTER array."); } - if (n_entries >= (FnList.Fns[call_number]).n_deps) + if (n_entries > (FnList.Fns[call_number]).n_deps) { CCTK_VWarn(0, __LINE__, __FILE__, CCTK_THORNSTRING, "The EOS function '%s' expects at most %d dependent " -- cgit v1.2.3