Changd a const_iterator to iterator in method it_best_element
God (or Maarten :-) knows why this was there
This commit is contained in:
parent
427ed0f5bf
commit
e2e8767902
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class eoPop: public vector<EOT>, public eoObject, public eoPersistent
|
||||||
/** returns an iterator to the best individual DOES NOT MOVE ANYBODY */
|
/** returns an iterator to the best individual DOES NOT MOVE ANYBODY */
|
||||||
eoPop<EOT>::iterator it_best_element()
|
eoPop<EOT>::iterator it_best_element()
|
||||||
{
|
{
|
||||||
typename eoPop<EOT>::const_iterator it = max_element(begin(), end());
|
typename eoPop<EOT>::iterator it = max_element(begin(), end());
|
||||||
return it;
|
return it;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue