fix(EDO): constructor declarations without templates
This commit is contained in:
parent
190a30495e
commit
d3a2ab5e84
4 changed files with 8 additions and 8 deletions
|
|
@ -45,7 +45,7 @@ class edoEstimatorAdaptive : public edoEstimator<D>
|
|||
public:
|
||||
typedef typename D::EOType EOType;
|
||||
|
||||
edoEstimatorAdaptive<D>( D& distrib ) : _distrib(distrib) {}
|
||||
edoEstimatorAdaptive( D& distrib ) : _distrib(distrib) {}
|
||||
|
||||
// virtual D operator() ( eoPop< EOT >& )=0 (provided by eoUF< A1, R >)
|
||||
|
||||
|
|
|
|||
|
|
@ -41,12 +41,12 @@ class edoEstimatorAdaptiveReset : public edoEstimatorAdaptive<D>
|
|||
public:
|
||||
typedef typename D::EOType EOType;
|
||||
|
||||
edoEstimatorAdaptiveReset<D>( D& distrib ) :
|
||||
edoEstimatorAdaptiveReset( D& distrib ) :
|
||||
edoEstimatorAdaptive<D>(distrib),
|
||||
_dim(0)
|
||||
{ }
|
||||
|
||||
edoEstimatorAdaptiveReset<D>( D& distrib, size_t dim ) :
|
||||
edoEstimatorAdaptiveReset( D& distrib, size_t dim ) :
|
||||
edoEstimatorAdaptive<D>(distrib),
|
||||
_dim(dim)
|
||||
{ }
|
||||
|
|
|
|||
|
|
@ -43,12 +43,12 @@ class edoEstimatorCombinedAdaptive : public edoEstimatorAdaptive<D>, public std:
|
|||
public:
|
||||
typedef typename D::EOType EOType;
|
||||
|
||||
edoEstimatorCombinedAdaptive<D>( D& distrib, edoEstimator<D>& estim) :
|
||||
edoEstimatorCombinedAdaptive( D& distrib, edoEstimator<D>& estim) :
|
||||
edoEstimatorAdaptive<D>(distrib),
|
||||
std::vector<edoEstimator<D>*>(1,&estim)
|
||||
{}
|
||||
|
||||
edoEstimatorCombinedAdaptive<D>( D& distrib, std::vector<edoEstimator<D>*> estims) :
|
||||
edoEstimatorCombinedAdaptive( D& distrib, std::vector<edoEstimator<D>*> estims) :
|
||||
edoEstimatorAdaptive<D>(distrib),
|
||||
std::vector<edoEstimator<D>*>(estims)
|
||||
{}
|
||||
|
|
@ -78,11 +78,11 @@ class edoEstimatorCombinedStateless : public edoEstimatorCombinedAdaptive<D>
|
|||
public:
|
||||
typedef typename D::EOType EOType;
|
||||
|
||||
edoEstimatorCombinedStateless<D>( edoEstimator<D>& estim ) :
|
||||
edoEstimatorCombinedStateless( edoEstimator<D>& estim ) :
|
||||
edoEstimatorCombinedAdaptive<D>(*(new D), estim)
|
||||
{}
|
||||
|
||||
edoEstimatorCombinedStateless<D>( std::vector<edoEstimator<D>*> estims) :
|
||||
edoEstimatorCombinedStateless( std::vector<edoEstimator<D>*> estims) :
|
||||
edoEstimatorCombinedAdaptive<D>(*(new D), estims)
|
||||
{}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ template < typename EOT >
|
|||
class edoRepairerModulo: public edoRepairerApplyBinary<EOT>
|
||||
{
|
||||
public:
|
||||
edoRepairerModulo<EOT>( double denominator ) : edoRepairerApplyBinary<EOT>( std::fmod, denominator ) {}
|
||||
edoRepairerModulo( double denominator ) : edoRepairerApplyBinary<EOT>( std::fmod, denominator ) {}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue