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

jain at mcs.anl.gov jain at mcs.anl.gov
Thu Mar 11 17:38:55 CST 2010


Author: jain
Date: 2010-03-11 17:38:55 -0600 (Thu, 11 Mar 2010)
New Revision: 3598

Modified:
   MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
Log:
o Cleared the number of entities before the loop continues


Modified: MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
===================================================================
--- MOAB/trunk/examples/SetsNTags/SetsNTags.cpp	2010-03-11 21:04:03 UTC (rev 3597)
+++ MOAB/trunk/examples/SetsNTags/SetsNTags.cpp	2010-03-11 23:38:55 UTC (rev 3598)
@@ -41,6 +41,7 @@
 
       std::cout << tag_nms[i] << " " << set_id << " has " 
                 << set_ents.size() << " entities." << std::endl;
+      set_ents.clear();
     }
   }
 }



More information about the moab-dev mailing list