[MOAB-dev] r3049 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Jul 22 12:28:40 CDT 2009


Author: kraftche
Date: 2009-07-22 12:28:40 -0500 (Wed, 22 Jul 2009)
New Revision: 3049

Modified:
   MOAB/trunk/MBCore.cpp
Log:
Do not return uninitialized sense value form side_number when side is a vertex

Modified: MOAB/trunk/MBCore.cpp
===================================================================
--- MOAB/trunk/MBCore.cpp	2009-07-22 16:20:48 UTC (rev 3048)
+++ MOAB/trunk/MBCore.cpp	2009-07-22 17:28:40 UTC (rev 3049)
@@ -2173,10 +2173,12 @@
                                 child) - parent_conn;
     if (child_index == num_parent_vertices) {
       side_number = -1;
+      sense = 0;
       return MB_SUCCESS;
     }
     else {
       side_number = child_index;
+      sense = 1; 
       return MB_SUCCESS;
     }
   }



More information about the moab-dev mailing list