From 037ce32d90396584d3e6b4541786cbbe81df2f16 Mon Sep 17 00:00:00 2001 From: kuepper Date: Sat, 2 Dec 2006 11:32:00 +0000 Subject: [PATCH] Change float to double. --- eo/test/ChangeLog | 2 ++ eo/test/t-MGE1bit.cpp | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/eo/test/ChangeLog b/eo/test/ChangeLog index 02fb4a5e..77cefa02 100644 --- a/eo/test/ChangeLog +++ b/eo/test/ChangeLog @@ -1,5 +1,7 @@ 2006-12-02 Jochen Küpper + * t-MGE1bit.cpp: Change float to double. + * t-eoGenOp.cpp (init): Do not add std::ends to end of string, as this results in escape-codes (^@) to be printed at runtime and is not necessary anyway. diff --git a/eo/test/t-MGE1bit.cpp b/eo/test/t-MGE1bit.cpp index 781f5c74..842f5cd7 100644 --- a/eo/test/t-MGE1bit.cpp +++ b/eo/test/t-MGE1bit.cpp @@ -22,7 +22,7 @@ //----------------------------------------------------------------------------- -typedef eoVirus Chrom; +typedef eoVirus Chrom; //----------------------------------------------------------------------------- @@ -39,7 +39,7 @@ int main() RoyalRoad rr( 8 ); eoEvalFuncCounter eval( rr ); - eoInitVirus1bit random(CHROM_SIZE, gen); + eoInitVirus1bit random(CHROM_SIZE, gen); for (i = 0; i < POP_SIZE; ++i) { Chrom chrom; random(chrom); @@ -55,9 +55,9 @@ int main() eoStochTournamentSelect lottery(0.9 ); // breeder - VirusShiftMutation vm; - VirusTransmission vt; - VirusBitFlip vf; + VirusShiftMutation vm; + VirusTransmission vt; + VirusBitFlip vf; eoUBitXover xover; eoProportionalOp propSel; eoGeneralBreeder breeder( lottery, propSel );