From 39621f87116490f260a8ba9b73a8fce52637fb86 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Wed, 12 Jun 2013 10:40:20 +0200 Subject: [PATCH] In hyp continue, do not declare unused variable and group using --- moeo/src/continue/moeoHypContinue.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/moeo/src/continue/moeoHypContinue.h b/moeo/src/continue/moeoHypContinue.h index f6fbac34a..228006d3a 100644 --- a/moeo/src/continue/moeoHypContinue.h +++ b/moeo/src/continue/moeoHypContinue.h @@ -73,7 +73,7 @@ public: /** Returns false when a ParetoSet is reached. */ - virtual bool operator() ( const eoPop& _pop ) + virtual bool operator() ( const eoPop& /*_pop*/ ) { std::vector bestCurrentParetoSet = pareto( arch ); @@ -143,6 +143,9 @@ protected: using moeoHypContinue::arch; using moeoHypContinue::OptimSet; + using moeoHypContinue::pareto; + using moeoHypContinue::is_null_hypervolume; + public: typedef typename MOEOT::ObjectiveVector ObjectiveVector; typedef typename ObjectiveVector::Type AtomType; @@ -174,7 +177,7 @@ public: } /** Returns false when a ParetoSet is reached. */ - virtual bool operator() ( const eoPop& _pop ) + virtual bool operator() ( const eoPop& /*_pop*/ ) { std::vector bestCurrentParetoSet = pareto( arch ); @@ -196,9 +199,6 @@ public: protected: - using moeoHypContinue::pareto; - using moeoHypContinue::is_null_hypervolume; - /** Translate a vector given as param to the ParetoSet that should be reached. */ virtual void vectorToParetoSet(const std::vector & _OptimVec) {