[Avida-SVN] r2205 - branches/dkdev/source/main

dknoester at myxo.css.msu.edu dknoester at myxo.css.msu.edu
Sat Nov 17 06:49:43 PST 2007


Author: dknoester
Date: 2007-11-17 09:49:43 -0500 (Sat, 17 Nov 2007)
New Revision: 2205

Modified:
   branches/dkdev/source/main/cDeme.cc
Log:
Undoing last change; resetting the age breaks event-driven trials.

Modified: branches/dkdev/source/main/cDeme.cc
===================================================================
--- branches/dkdev/source/main/cDeme.cc	2007-11-17 14:30:42 UTC (rev 2204)
+++ branches/dkdev/source/main/cDeme.cc	2007-11-17 14:49:43 UTC (rev 2205)
@@ -120,9 +120,6 @@
 
 
 void cDeme::NewTrial() {
-  // Should reset the age on a new trial.
-  _age = 0;
-  
   // (0-6, (0-5)+1
   if(_world->GetConfig().TWOCELLS_SEQUENTIAL_REGION.Get()) {
     assert(_region_position > 0 && _region_position < GetHeight());




More information about the Avida-cvs mailing list