added typenames for pop::iterator
This commit is contained in:
parent
adab095840
commit
e5c83ac2e8
2 changed files with 5 additions and 5 deletions
|
|
@ -73,7 +73,7 @@ public:
|
|||
throw std::runtime_error("Not enough parents killed in eoMGGReplacement");
|
||||
|
||||
// select best offspring
|
||||
eoPop<EOT>::iterator it = _offspring.it_best_element();
|
||||
typename eoPop<EOT>::iterator it = _offspring.it_best_element();
|
||||
// add to parents
|
||||
_parents.push_back(*it);
|
||||
// remove from offspring
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue