fix(EDO): constructor declarations without templates
This commit is contained in:
parent
190a30495e
commit
d3a2ab5e84
4 changed files with 8 additions and 8 deletions
|
|
@ -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)
|
||||
{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue