diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-02-16 16:57:54 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2011-02-16 16:57:54 +0000 |
commit | 9212101cfe6acca9b6bbce8f329c170adb782c2f (patch) | |
tree | 281980373650ac4faf526bb7119c82557d63ec1e | |
parent | 40c086725083465778bb85d8447a4fc69ee996c0 (diff) | |
download | opt-utilities-9212101cfe6acca9b6bbce8f329c170adb782c2f.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@175 ed2142bd-67ad-457f-ba7c-d818d4011675
-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: |