Bug fixed in moeoArchive.h
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1543 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
73bcab1f2b
commit
b67b627608
1 changed files with 3 additions and 1 deletions
|
|
@ -206,10 +206,12 @@ protected:
|
||||||
*/
|
*/
|
||||||
bool update(const eoPop < MOEOT > & _pop)
|
bool update(const eoPop < MOEOT > & _pop)
|
||||||
{
|
{
|
||||||
|
bool tmp = false;
|
||||||
bool res = false;
|
bool res = false;
|
||||||
for (unsigned int i=0; i<_pop.size(); i++)
|
for (unsigned int i=0; i<_pop.size(); i++)
|
||||||
{
|
{
|
||||||
res = (*this).update(_pop[i]) || res;
|
tmp = (*this).update(_pop[i]);
|
||||||
|
res = tmp || res;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue