From f6b110f614704b6050635ec4dc01eda7e4a7bd06 Mon Sep 17 00:00:00 2001 From: boufaras Date: Wed, 6 Jul 2011 15:03:11 +0000 Subject: [PATCH] redundant code : moveBack is call af move method git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2298 331e1502-861f-0410-8da2-ba01fb791d7f --- trunk/paradiseo-mo/src/problems/bitString/moBitNeighbor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/paradiseo-mo/src/problems/bitString/moBitNeighbor.h b/trunk/paradiseo-mo/src/problems/bitString/moBitNeighbor.h index 73e464fa4..c578bd2c3 100644 --- a/trunk/paradiseo-mo/src/problems/bitString/moBitNeighbor.h +++ b/trunk/paradiseo-mo/src/problems/bitString/moBitNeighbor.h @@ -65,7 +65,7 @@ public: * @param _solution the solution to move back */ virtual void moveBack(EOT & _solution) { - _solution[key] = !_solution[key]; + move(_solution); } /**