* problems/DTLZ/src/: Do not build DTLZObjectiveVector using nbVar.

This commit is contained in:
manu 2014-09-25 17:49:44 +02:00
commit 217f11e33e
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ void DTLZ1Eval::operator() (DTLZ & _element)
int nbVar= _element.size();
int k;
double g;
DTLZObjectiveVector objVec(nbVar);
DTLZObjectiveVector objVec;
k = nbVar - nbFun + 1;
g = 0.0;

View file

@ -48,7 +48,7 @@ void DTLZ7Eval::operator() (DTLZ & _element)
int nbVar= _element.size();
int k;
double f, g, h;
DTLZObjectiveVector objVec(nbVar);
DTLZObjectiveVector objVec;
k = nbVar - nbFun + 1;
g = 0.0;