git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1456 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
fc72d046eb
commit
95bd548f36
2 changed files with 2 additions and 1 deletions
|
|
@ -97,6 +97,7 @@ public:
|
||||||
_dest.push_back(_src[i]);
|
_dest.push_back(_src[i]);
|
||||||
move(_dest.back());
|
move(_dest.back());
|
||||||
_dest.back().objectiveVector(objVec);
|
_dest.back().objectiveVector(objVec);
|
||||||
|
_dest.back().flag(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// preparing the next iteration
|
// preparing the next iteration
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ protected:
|
||||||
bool res = false;
|
bool res = false;
|
||||||
unsigned int i=0;
|
unsigned int i=0;
|
||||||
while(!res && i < _pop.size()){
|
while(!res && i < _pop.size()){
|
||||||
res = (_pop[i].flag() == 0);
|
res = (_pop[i].flag() != 1);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
std::cout << res << std::endl;
|
std::cout << res << std::endl;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue