hypervolume pointers + doc

This commit is contained in:
Arnaud Liefooghe 2014-10-06 14:51:37 +02:00
commit 5f9689fc23
8 changed files with 12 additions and 8 deletions

View file

@ -86,7 +86,7 @@ public:
virtual bool equals(moTwoOptExNeighbor<EOT,Fitness> & _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)));
}
/**