[MOAB-dev] r4223 - MOAB/trunk/itaps/imesh

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Oct 18 17:09:26 CDT 2010


Author: kraftche
Date: 2010-10-18 17:09:26 -0500 (Mon, 18 Oct 2010)
New Revision: 4223

Modified:
   MOAB/trunk/itaps/imesh/iMesh_MOAB.hpp
Log:
if array size is insufficient, return iBase_INVALID_ARRAY_SIZE, not iBase_INVALID_ARRAY_DIMENSION

Modified: MOAB/trunk/itaps/imesh/iMesh_MOAB.hpp
===================================================================
--- MOAB/trunk/itaps/imesh/iMesh_MOAB.hpp	2010-10-18 16:20:49 UTC (rev 4222)
+++ MOAB/trunk/itaps/imesh/iMesh_MOAB.hpp	2010-10-18 22:09:26 UTC (rev 4223)
@@ -146,7 +146,7 @@
     else {
       array_size = count;
       if (array_allocated_space < count) {
-        IBASE_ERROR(iBase_BAD_ARRAY_DIMENSION, 
+        IBASE_ERROR(iBase_BAD_ARRAY_SIZE, 
           "Allocated array not large enough to hold returned contents.");
       }
     }








































More information about the moab-dev mailing list