diff options
-rw-r--r-- | vmodels/dualgauss1d.hpp | 1 | ||||
-rw-r--r-- | vmodels/gauss1d.hpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/vmodels/dualgauss1d.hpp b/vmodels/dualgauss1d.hpp index bace73b..221fe54 100644 --- a/vmodels/dualgauss1d.hpp +++ b/vmodels/dualgauss1d.hpp @@ -16,6 +16,7 @@ namespace opt_utilities template <typename T> class dualgauss1d :public model<optvec<T>,optvec<T>,optvec<T>,std::string> + ,public pre_estimatable<optvec<T>,optvec<T>,optvec<T>,std::string> { private: dualgauss1d* do_clone()const diff --git a/vmodels/gauss1d.hpp b/vmodels/gauss1d.hpp index ecfa81c..e94ede6 100644 --- a/vmodels/gauss1d.hpp +++ b/vmodels/gauss1d.hpp @@ -10,12 +10,14 @@ #include <core/fitter.hpp> #include <cmath> #include <misc/optvec.hpp> +#include <core/pre_estimater.hpp> namespace opt_utilities { template <typename T> class gauss1d :public model<optvec<T>,optvec<T>,optvec<T>,std::string> + ,public pre_estimatable<optvec<T>,optvec<T>,optvec<T>,std::string> { private: gauss1d* do_clone()const |