diff options
-rw-r--r-- | models/lin1d.hpp | 2 | ||||
-rw-r--r-- | vmodels/lin1d.hpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/models/lin1d.hpp b/models/lin1d.hpp index a3359ce..390daa7 100644 --- a/models/lin1d.hpp +++ b/models/lin1d.hpp @@ -9,6 +9,7 @@ #define LINEAR_MODEL_H_ #define OPT_HEADER #include <core/fitter.hpp> +#include <pre_estimater/pre_estimater.hpp> #include <cmath> namespace opt_utilities @@ -16,6 +17,7 @@ namespace opt_utilities template <typename T> class lin1d :public model<T,T,std::vector<T>,std::string> + ,public pre_estimatable<T,T,std::vector<T>,std::string> { private: model<T,T,std::vector<T> >* do_clone()const diff --git a/vmodels/lin1d.hpp b/vmodels/lin1d.hpp index d58c589..3969288 100644 --- a/vmodels/lin1d.hpp +++ b/vmodels/lin1d.hpp @@ -10,6 +10,7 @@ #define OPT_HEADER #include <core/fitter.hpp> #include <misc/optvec.hpp> +#include <pre_estimater/pre_estimater.hpp> #include <cmath> namespace opt_utilities @@ -17,6 +18,7 @@ namespace opt_utilities template <typename T> class lin1d :public model<optvec<T>,optvec<T>,optvec<T>,std::string> + ,public pre_estimatable<optvec<T>,optvec<T>,optvec<T>,std::string> { typedef optvec<T> Tv; private: |