removed unconsitent reference in "eoWeakElitistReplacement" (const EOT oldChamp)

This commit is contained in:
tlegrand 2007-07-02 13:00:48 +00:00
commit 860cb372b0

View file

@ -111,7 +111,7 @@ public :
/// do replacement
void operator()(eoPop<EOT>& _pop, eoPop<EOT>& _offspring)
{
const EOT & oldChamp = _pop.best_element();
const EOT oldChamp = _pop.best_element();
replace(_pop, _offspring); // "normal" replacement, parents are the new
if (_pop.best_element() < oldChamp) // need to do something
{