diff --git a/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h b/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h index e940c836c..55dfcbe8d 100644 --- a/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h +++ b/trunk/paradiseo-mo/src/problems/permutation/moSwapNeighbor.h @@ -86,8 +86,7 @@ public: virtual bool equals(moSwapNeighbor& _neighbor) { unsigned f, s; _neighbor.getIndices(f, s); - return ((indices.first == f) && (indices.second == s) || (indices.first - == s) && (indices.second == f)); + return (((indices.first == f) && (indices.second == s)) || ((indices.first == s) && (indices.second == f))); } /**