From 3937dd0fd6a04e72a29a3219a037fd5c1fdd813d Mon Sep 17 00:00:00 2001 From: maartenkeijzer Date: Sun, 29 Dec 2002 22:48:01 +0000 Subject: [PATCH] oops, error in line 47 --- eo/test/t-eoParetoFitness.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eo/test/t-eoParetoFitness.cpp b/eo/test/t-eoParetoFitness.cpp index ee04facf..1cbf3373 100644 --- a/eo/test/t-eoParetoFitness.cpp +++ b/eo/test/t-eoParetoFitness.cpp @@ -43,7 +43,7 @@ void compare(F & _eo1, F & _eo2) { if (_eo1.dominates(_eo2)) cout << _eo1 << " dominates " << _eo2 << endl; - else if (_eo2.dominates(_eo2)) + else if (_eo2.dominates(_eo1)) cout << _eo2 << " dominates " << _eo1 << endl; else cout << "None of " << _eo1 << " and " << _eo2 << "dominates the other" << endl;