Correct templatized types across ObjectiveVector-dependant code

This commit is contained in:
Johann Dreo 2013-06-07 11:52:50 +02:00
commit 818425565d
4 changed files with 13 additions and 11 deletions

View file

@ -59,7 +59,7 @@ public:
typedef typename ObjectiveVector::Type AtomType;
/// Ctor
moeoHypContinue( const std::vector<AtomType> & _OptimVec, moeoArchive < MOEOT > & _archive, bool _normalize=true, AtomType _rho=1.1)
moeoHypContinue( const std::vector<AtomType> & _OptimVec, moeoArchive < MOEOT > & _archive, bool _normalize=true, double _rho=1.1)
: eoContinue<MOEOT>(), arch(_archive), metric(_normalize,_rho)
{
vectorToParetoSet(_OptimVec);