[MOAB-dev] r2844 - MOAB/trunk/tools/iMesh

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Sun Apr 19 18:16:07 CDT 2009


Author: kraftche
Date: 2009-04-19 18:16:06 -0500 (Sun, 19 Apr 2009)
New Revision: 2844

Modified:
   MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
Log:
fix broken iterator implementation

Modified: MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp
===================================================================
--- MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp	2009-04-18 14:44:23 UTC (rev 2843)
+++ MOAB/trunk/tools/iMesh/iMesh_MOAB.cpp	2009-04-19 23:16:06 UTC (rev 2844)
@@ -584,7 +584,7 @@
       ++(this_it->currentPos);
     }
   
-    *has_data = !i;
+    *has_data = (i!=0);
     *entity_handles_size = i;
     RETURN(iBase_SUCCESS);
   }



More information about the moab-dev mailing list