From b5222c8aa5ea233b55b63643ee9ce84b1e583745 Mon Sep 17 00:00:00 2001 From: mac Date: Tue, 13 Jun 2000 10:27:10 +0000 Subject: [PATCH] Changed base class eoEsBase to eoFixedLength --- eo/test/real_value.h | 4 ++-- eo/test/t-eoESFull.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eo/test/real_value.h b/eo/test/real_value.h index ed983bc2..c6b30b6c 100644 --- a/eo/test/real_value.h +++ b/eo/test/real_value.h @@ -1,4 +1,4 @@ -#include +#include //----------------------------------------------------------------------------- @@ -7,7 +7,7 @@ @param _ind A floatingpoint vector */ -double real_value(const eoEsBase& _ind) +double real_value(const eoFixedLength& _ind) { double sum = 0; /* compute in double format, even if return a float */ for (unsigned i = 0; i < _ind.size(); i++) diff --git a/eo/test/t-eoESFull.cpp b/eo/test/t-eoESFull.cpp index 75be5006..86810213 100644 --- a/eo/test/t-eoESFull.cpp +++ b/eo/test/t-eoESFull.cpp @@ -94,7 +94,7 @@ template void runAlgorithm(EOT, eoParser& _parser, eoEsObjectiveBounds& _bounds) { // evaluation - eoEvalFuncPtr > eval( real_value ); + eoEvalFuncPtr > eval( real_value ); // population parameters, unfortunately these can not be altered in the state file eoValueParam mu = _parser.createParam(unsigned(50), "mu","Size of the population");