diff --git a/eo/src/eoTournament.h b/eo/src/eoTournament.h index 5a754b7f..45db15dc 100644 --- a/eo/src/eoTournament.h +++ b/eo/src/eoTournament.h @@ -76,8 +76,8 @@ public: throw runtime_error("error in void eoTournament::operator(eoPop&, eoPop&)"); } - // The first is chosen for the new population - _aVEO.push_back( best ); + // The best individual is chosen for the new population + _aVEO.push_back( *best ); } };