updated version info, added flush to stdoutmonitor and sprinkled a few typenames
in eoPop.h and eoGOpSelector.h (egcs 2.96 started complaining).
This commit is contained in:
parent
5e31ae1338
commit
8684e1fac1
3 changed files with 3 additions and 3 deletions
|
|
@ -138,7 +138,7 @@ class eoPop: public vector<EOT>, public eoObject, public eoPersistent
|
|||
*/
|
||||
eoPop<EOT>::iterator nth_element(int nth)
|
||||
{
|
||||
iterator it = begin() + nth;
|
||||
typename eoPop<EOT>::iterator it = begin() + nth;
|
||||
std::nth_element(begin(), it, end(), greater<EO<Fitness> >());
|
||||
return it;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue