[Avida-cvs] [avida-svn] r471 - in trunk/source: cpu main
goingssh@myxo.css.msu.edu
goingssh at myxo.css.msu.edu
Sun Feb 12 15:31:53 PST 2006
Author: goingssh
Date: 2006-02-12 18:31:52 -0500 (Sun, 12 Feb 2006)
New Revision: 471
Modified:
trunk/source/cpu/cHardwareCPU.cc
trunk/source/main/cTaskLib.cc
Log:
Modified: trunk/source/cpu/cHardwareCPU.cc
===================================================================
--- trunk/source/cpu/cHardwareCPU.cc 2006-02-09 20:35:11 UTC (rev 470)
+++ trunk/source/cpu/cHardwareCPU.cc 2006-02-12 23:31:52 UTC (rev 471)
@@ -2833,7 +2833,7 @@
{
if (executedmatchstrings)
return false;
- organism->DoOutput(1234);
+ organism->DoOutput(357913941);
executedmatchstrings = true;
return true;
}
Modified: trunk/source/main/cTaskLib.cc
===================================================================
--- trunk/source/main/cTaskLib.cc 2006-02-09 20:35:11 UTC (rev 470)
+++ trunk/source/main/cTaskLib.cc 2006-02-12 23:31:52 UTC (rev 471)
@@ -1674,7 +1674,7 @@
double cTaskLib::Task_MatchStr() const
{
- if (output_buffer[0] != 1234)
+ if (output_buffer[0] != 357913941)
return 0;
output_buffer.Pop(); // pop the 1234 value off of the buffer
@@ -1699,7 +1699,7 @@
if (num_matched > max_num_matched)
max_num_matched = num_matched;
//}
- output_buffer.Add(1234);
+ output_buffer.Add(357913941);
// return value between 0 & 1 representing the percentage of string that was matched
@@ -1739,4 +1739,4 @@
}
return 0.0;
-}
\ No newline at end of file
+}
More information about the Avida-cvs
mailing list