[Avida-SVN] r2339 - development/source/targets/viewer-text

brysonda at myxo.css.msu.edu brysonda at myxo.css.msu.edu
Mon Feb 18 07:07:38 PST 2008


Author: brysonda
Date: 2008-02-18 10:07:38 -0500 (Mon, 18 Feb 2008)
New Revision: 2339

Modified:
   development/source/targets/viewer-text/cDriver_TextViewer.cc
Log:
Adjust cDriver_TextViewer to call the scheduler rather then passing the current instruction count.

Modified: development/source/targets/viewer-text/cDriver_TextViewer.cc
===================================================================
--- development/source/targets/viewer-text/cDriver_TextViewer.cc	2008-02-18 14:57:57 UTC (rev 2338)
+++ development/source/targets/viewer-text/cDriver_TextViewer.cc	2008-02-18 15:07:38 UTC (rev 2339)
@@ -165,7 +165,7 @@
       }
     }
     else {
-      for (int i = 0; i < UD_size; i++) population.ProcessStep(ctx, step_size, i);
+      for (int i = 0; i < UD_size; i++) population.ProcessStep(ctx, step_size, population.ScheduleOrganism());
     }
     
     




More information about the Avida-cvs mailing list