bug for maximization corrected

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@590 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
liefooga 2007-08-10 13:06:39 +00:00
commit 6b8aed80c3

View file

@ -51,7 +51,7 @@ public:
// if the ith objective have to be maximized...
else if (ObjectiveVector::maximizing(i))
{
if (_objectiveVector1[i] > _objectiveVector2[i])
if (_objectiveVector1[i] < _objectiveVector2[i])
{
dom = true; //_objectiveVector1[i] is not better than _objectiveVector2[i]
}