cast added in SPEA2 archive
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1859 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
3e716f32bd
commit
227c9866dc
1 changed files with 1 additions and 1 deletions
|
|
@ -162,7 +162,7 @@ public:
|
|||
//If the archive is empty, put in the best elements of the pop
|
||||
if (borne < maxSize)
|
||||
{
|
||||
foo= std::min(_pop.size(), maxSize-borne);
|
||||
foo= std::min((unsigned int)_pop.size(), maxSize-borne);
|
||||
for (i=0; i< foo ; i++)
|
||||
{
|
||||
push_back(_pop[copy_pop[i].index]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue