Several modifications have been made to obtain g++ (GCC) 4.3.2 20081105 compatibility, -Wno-unused-parameter and -Wno-ignored-qualifiers have been added to avoid the corresponding warnings (only moeo is concerned by the second one). In order to avoid all the warnings, several modifications into EO are needed.
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1305 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bdefa7d2b1
commit
71e3fbe25d
7 changed files with 10 additions and 5 deletions
|
|
@ -173,7 +173,7 @@ class moeoDominanceDepthFitnessAssignment : public moeoDominanceBasedFitnessAssi
|
|||
// assign fitness values
|
||||
unsigned int rank = 1;
|
||||
_pop[_pop.size()-1].fitness(rank);
|
||||
for (unsigned int i=_pop.size()-2; i>=0; i--)
|
||||
for (int i=((int)_pop.size())-2; i>=0; i--)
|
||||
{
|
||||
if (_pop[i].objectiveVector() != _pop[i+1].objectiveVector())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue