Coreected a cut-and-paste bug :-(

This commit is contained in:
evomarc 2001-05-18 17:46:33 +00:00
commit 8e5e9d14cf

View file

@ -94,15 +94,12 @@ eoAlgo<EOT> & do_make_algo_scalar(eoParameterLoader& _parser, eoState& _state, e
} }
else if (ppSelect.first == string("Sequential")) // one after the other else if (ppSelect.first == string("Sequential")) // one after the other
{ {
bool b;
if (ppSelect.second.size() == 0) // no argument -> default = ordered if (ppSelect.second.size() == 0) // no argument -> default = ordered
select = new eoSequentialSelect<EOT>; b=true;
else else
{ b = !(ppSelect.second[0] == string("unordered"));
bool b; select = new eoSequentialSelect<EOT>(b);
istrstream is(ppSelect.second[0].c_str());
is >> b;
select = new eoStochTournamentSelect<EOT>(b);
}
} }
else if (ppSelect.first == string("Roulette")) // no argument (yet) else if (ppSelect.first == string("Roulette")) // no argument (yet)
{ {