From 6fece409a7837b71b097b236219d6591c7acb902 Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 11 Jan 2000 13:25:32 +0000 Subject: [PATCH] Another little bug fixed --- eo/src/eoTournament.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eo/src/eoTournament.h b/eo/src/eoTournament.h index 5a754b7ff..45db15dcd 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 ); } };