more bugfixes
This commit is contained in:
parent
220c89d1d5
commit
f2f65d7ed4
3 changed files with 4 additions and 5 deletions
|
|
@ -27,9 +27,8 @@ class eoNSGA_IIa_Eval : public eoMOEval<EOT>
|
|||
for (unsigned i = 0; i < offspring.size(); ++i) pop.push_back(&offspring[i]);
|
||||
|
||||
typename eoFrontSorter<EOT>::front_t front = sorter(pop);
|
||||
|
||||
|
||||
unsigned rank = parents.size();
|
||||
unsigned rank = pop.size();
|
||||
for (unsigned i = 0; i < front.size(); ++i) {
|
||||
rank = assign_worths(front[i], rank, pop);
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue