Coreected a cut-and-paste bug :-(
This commit is contained in:
parent
422ddc6f5f
commit
8e5e9d14cf
1 changed files with 4 additions and 7 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Reference in a new issue