[Avida-cvs] [avida-svn] r944 - development/source/main

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Mon Sep 11 17:36:14 PDT 2006


Author: brysonda
Date: 2006-09-11 20:36:14 -0400 (Mon, 11 Sep 2006)
New Revision: 944

Modified:
   development/source/main/cPopulation.cc
Log:
Remove some debugging code from cPopulation::UpdateOrganismStats()

Modified: development/source/main/cPopulation.cc
===================================================================
--- development/source/main/cPopulation.cc	2006-09-11 21:30:22 UTC (rev 943)
+++ development/source/main/cPopulation.cc	2006-09-12 00:36:14 UTC (rev 944)
@@ -1088,12 +1088,6 @@
 
 void cPopulation::UpdateOrganismStats()
 {
-	if (m_world->GetStats().GetUpdate() % 100 == 0)
-	{
-		int market_tot = 0;
-		for (int i=0; i<10000; i++)
-			market_tot += market[i].GetSize();
-	}
   // Loop through all the cells getting stats and doing calculations
   // which must be done on a creature by creature basis.
   




More information about the Avida-cvs mailing list