[MOAB-dev] r3599 - MOAB/trunk/examples/SetsNTags

tautges at mcs.anl.gov tautges at mcs.anl.gov
Thu Mar 11 18:20:44 CST 2010


Author: tautges
Date: 2010-03-11 18:20:44 -0600 (Thu, 11 Mar 2010)
New Revision: 3599

Modified:
   MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
Log:
One more set needed to be cleared.




Modified: MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
===================================================================
--- MOAB/trunk/examples/SetsNTags/SetsNTags.cpp	2010-03-11 23:38:55 UTC (rev 3598)
+++ MOAB/trunk/examples/SetsNTags/SetsNTags.cpp	2010-03-12 00:20:44 UTC (rev 3599)
@@ -24,6 +24,7 @@
     rval = mb->tag_get_handle(tag_nms[i], mtag);
 
       // get all the sets of that type in the mesh
+    sets.clear();
     rval = mb->get_entities_by_type_and_tag(0, MBENTITYSET, &mtag,
                                             NULL, 1, sets);
 



More information about the moab-dev mailing list