return to revision 1324

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1356 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jhumeau 2009-01-21 13:34:43 +00:00
commit c399f0b4d2

View file

@ -131,7 +131,7 @@ class moTS:public moAlgo < typename M::EOType >
(*move_explorer) (_solution, new_solution);
// Updating the best solution found until now ?
if (new_solution.fitness() > _solution.fitness())
if (new_solution.fitness() > best_solution.fitness())
{
best_solution = new_solution;
}