warning hunting

This commit is contained in:
gustavo 2000-05-25 11:03:00 +00:00
commit 0363af1289
13 changed files with 153 additions and 145 deletions

View file

@ -35,14 +35,14 @@ class eoGOpBreeder: public eoMonPopOp<EOT>
* @param pop The population to be transformed.
*/
void operator()(eoPop<EOT>& _pop)
{
int size = _pop.size();
{
unsigned size = _pop.size();
for (unsigned i = 0; i < size; i++)
{ // and the one liner
opSel.selectOp()(selector.bind(_pop,size).bias(i), inserter.bind(_pop));
}
{ // and the one liner
opSel.selectOp()(selector.bind(_pop,size).bias(i), inserter.bind(_pop));
}
}
/// The class name.
string className() const { return "eoGOpBreeder"; }