[MOAB-dev] r3334 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu Nov 12 13:44:03 CST 2009


Author: kraftche
Date: 2009-11-12 13:44:03 -0600 (Thu, 12 Nov 2009)
New Revision: 3334

Modified:
   MOAB/trunk/AEntityFactory.cpp
Log:
fix bug in error handling introduced with earlier checkin

Modified: MOAB/trunk/AEntityFactory.cpp
===================================================================
--- MOAB/trunk/AEntityFactory.cpp	2009-11-12 19:20:46 UTC (rev 3333)
+++ MOAB/trunk/AEntityFactory.cpp	2009-11-12 19:44:03 UTC (rev 3334)
@@ -104,7 +104,7 @@
   {
     result = MB_TYPE_OUT_OF_RANGE;
   }
-  if(target_dimension == (source_type != MBPOLYHEDRON ? 0 : 2)) 
+  else if(target_dimension == (source_type != MBPOLYHEDRON ? 0 : 2)) 
   {
     result = thisMB->get_connectivity(&source_entity, 1, target_entities);
   }



More information about the moab-dev mailing list