[Avida-SVN] r3061 - branches/hjg-dev/source/main

hjg at myxo.css.msu.edu hjg at myxo.css.msu.edu
Thu Dec 18 13:35:31 PST 2008


Author: hjg
Date: 2008-12-18 16:35:30 -0500 (Thu, 18 Dec 2008)
New Revision: 3061

Modified:
   branches/hjg-dev/source/main/cTaskLib.cc
Log:
bug fix

Modified: branches/hjg-dev/source/main/cTaskLib.cc
===================================================================
--- branches/hjg-dev/source/main/cTaskLib.cc	2008-12-18 21:34:13 UTC (rev 3060)
+++ branches/hjg-dev/source/main/cTaskLib.cc	2008-12-18 21:35:30 UTC (rev 3061)
@@ -2079,11 +2079,12 @@
 	m_world->GetStats().AddStringBitsMatchedValue(name, max_num_matched);
 	
 	// if the organism hasn't donated, then zero out its reputation. 
-/*	if ((ctx.GetOrganism()->GetReputation() > 0) && 
+	if ((ctx.GetOrganism()->GetReputation() > 0) && 
 			(ctx.GetOrganism()->GetNumberOfDonations() == 0)) {
 		ctx.GetOrganism()->SetReputation(0);
-	}*/
-	
+	}
+ 
+ 
 	std::pair < int, int > best_string; 
 	int donated_string;
 




More information about the Avida-cvs mailing list