moTS has been updated, a bug has been corrected

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1324 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
jboisson 2009-01-13 13:47:21 +00:00
commit 96b41c0445

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;
}