[Avida-SVN] r1588 - in development: source/main tests/_avida_GA_lim_res

goingssh at myxo.css.msu.edu goingssh at myxo.css.msu.edu
Tue May 22 09:41:10 PDT 2007


Author: goingssh
Date: 2007-05-22 12:41:10 -0400 (Tue, 22 May 2007)
New Revision: 1588

Removed:
   development/tests/_avida_GA_lim_res/expected/
Modified:
   development/source/main/cTaskLib.cc
Log:
Updating test, task


Modified: development/source/main/cTaskLib.cc
===================================================================
--- development/source/main/cTaskLib.cc	2007-05-22 15:57:29 UTC (rev 1587)
+++ development/source/main/cTaskLib.cc	2007-05-22 16:41:10 UTC (rev 1588)
@@ -2226,7 +2226,7 @@
       quality = .001;
   }
   ctx.SetTaskValue(Fx);
-  quality = (args.GetDouble(1) - Fx + .001) / (args.GetDouble(1) - args.GetDouble(2) + .001);
+  quality = (args.GetDouble(1) - Fx+.001) / (args.GetDouble(1) - args.GetDouble(2)+.001);
   
   // because want org to only have 1 shot to use outputs for all functions at once, even if they
   // output numbers that give a quality of 0 on a function, still want to mark it as completed




More information about the Avida-cvs mailing list