* problems/DTLZ/src/: Do not build DTLZObjectiveVector using nbVar.
This commit is contained in:
parent
521c7e5bf5
commit
217f11e33e
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue