[Avida-SVN] r2868 - branches/hjg-dev/source/cpu
hjg at myxo.css.msu.edu
hjg at myxo.css.msu.edu
Thu Oct 23 08:22:20 PDT 2008
Author: hjg
Date: 2008-10-23 11:22:20 -0400 (Thu, 23 Oct 2008)
New Revision: 2868
Modified:
branches/hjg-dev/source/cpu/cHardwareCPU.cc
Log:
fixed stats bug
Modified: branches/hjg-dev/source/cpu/cHardwareCPU.cc
===================================================================
--- branches/hjg-dev/source/cpu/cHardwareCPU.cc 2008-10-23 14:45:17 UTC (rev 2867)
+++ branches/hjg-dev/source/cpu/cHardwareCPU.cc 2008-10-23 15:22:20 UTC (rev 2868)
@@ -6727,8 +6727,10 @@
neighbor->Rotate(1);
}
+
+ // track stats
+ organism->Donated();
-
// update reputation to include this donation.
// get the current reputation; increment by 1.
if (m_world->GetConfig().AUTO_REPUTATION.Get()) {
More information about the Avida-cvs
mailing list