From 379f71f2883a8c93cec20f11a29ac9155e7a2c4c Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Tue, 30 Apr 2013 11:48:34 +0200 Subject: [PATCH] bugfix: call mother constructor of moeoHypervolumeBinaryMetric Thus the default bounds are initialized. --- moeo/src/metric/moeoHypervolumeBinaryMetric.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moeo/src/metric/moeoHypervolumeBinaryMetric.h b/moeo/src/metric/moeoHypervolumeBinaryMetric.h index d2e61cbf0..a9f3bfe8d 100644 --- a/moeo/src/metric/moeoHypervolumeBinaryMetric.h +++ b/moeo/src/metric/moeoHypervolumeBinaryMetric.h @@ -59,7 +59,7 @@ class moeoHypervolumeBinaryMetric : public moeoNormalizedSolutionVsSolutionBinar * Ctor * @param _rho value used to compute the reference point from the worst values for each objective (default : 1.1) */ - moeoHypervolumeBinaryMetric(double _rho = 1.1) : rho(_rho) + moeoHypervolumeBinaryMetric(double _rho = 1.1) : moeoNormalizedSolutionVsSolutionBinaryMetric(), rho(_rho) { // not-a-maximization problem check for (unsigned int i=0; i