diff options
author | cott <cott@e77735cb-7dd8-4a7a-87c7-7cc99eb84b11> | 2010-01-07 16:08:47 +0000 |
---|---|---|
committer | cott <cott@e77735cb-7dd8-4a7a-87c7-7cc99eb84b11> | 2010-01-07 16:08:47 +0000 |
commit | b2269badd907bef8c8091a40e9430ef5f3fc2fd8 (patch) | |
tree | 5162f874f197ce2989d1d8c8b3e7bf3cfb734276 | |
parent | cf7a8b58f4ae85517bbe0797efdc95c2a539d76e (diff) |
* 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
-rwxr-xr-x | src/EOSBase_Register.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 " |