Updated to use gcc-3.2
This commit is contained in:
parent
fc1113aad6
commit
ff2968bd60
8 changed files with 21 additions and 19 deletions
|
|
@ -140,10 +140,10 @@ eoValueParam<unsigned> tournamentSizeParam = parser.createParam(unsigned(2), "to
|
|||
parentsOrg[i].fitness(i);
|
||||
else if (fitnessType == string("exp"))
|
||||
for (unsigned i=0; i<pSize; i++)
|
||||
parentsOrg[i].fitness(exp(i));
|
||||
parentsOrg[i].fitness(exp((double)i));
|
||||
else if (fitnessType == string("log"))
|
||||
for (unsigned i=0; i<pSize; i++)
|
||||
parentsOrg[i].fitness(log(i+1));
|
||||
parentsOrg[i].fitness(log(i+1.));
|
||||
else if (fitnessType == string("super"))
|
||||
{
|
||||
for (unsigned i=0; i<pSize-1; i++)
|
||||
|
|
|
|||
Reference in a new issue