Changd a const_iterator to iterator in method it_best_element

God (or Maarten :-) knows why this was there
This commit is contained in:
evomarc 2002-06-21 13:50:39 +00:00
commit e2e8767902

View file

@ -161,7 +161,7 @@ class eoPop: public vector<EOT>, public eoObject, public eoPersistent
/** returns an iterator to the best individual DOES NOT MOVE ANYBODY */
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;
}