From 4ec08e8b103e1e5681413035cc15aa067a6c3662 Mon Sep 17 00:00:00 2001 From: evomarc Date: Sun, 28 Jul 2002 05:40:25 +0000 Subject: [PATCH] Added eoReduceMergeReduce and elitism (+ corrected small bug in eoHowMany) --- eo/src/utils/eoHowMany.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/src/utils/eoHowMany.h b/eo/src/utils/eoHowMany.h index 917b41da..5a413a30 100644 --- a/eo/src/utils/eoHowMany.h +++ b/eo/src/utils/eoHowMany.h @@ -164,7 +164,7 @@ public: combien = int(rate); // and rate will not be used // minimal check - if ( rate <= 0.0 ) + if ( rate < 0.0 ) throw runtime_error("Negative rate read in eoHowMany::readFrom"); }