From 40c086725083465778bb85d8447a4fc69ee996c0 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Wed, 16 Feb 2011 16:57:47 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@174 ed2142bd-67ad-457f-ba7c-d818d4011675 --- pre_estimater/lin1d_estimater.hpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'pre_estimater/lin1d_estimater.hpp') diff --git a/pre_estimater/lin1d_estimater.hpp b/pre_estimater/lin1d_estimater.hpp index 1ec62cb..e36f2a7 100644 --- a/pre_estimater/lin1d_estimater.hpp +++ b/pre_estimater/lin1d_estimater.hpp @@ -2,33 +2,27 @@ #define LIN1D_ESTIMATER #include "pre_estimater.hpp" #include -#include - +#include +#include namespace opt_utilities { template class lin1d_estimater - :public pre_estimater,optvec,optvec,T,std::string> + :public pre_estimater,std::string> { - private: - const std::string model_id; private: lin1d_estimater() - :model_id(lin1d().get_type_name()) - {} + { + } lin1d_estimater do_clone()const { return new lin1d_estimater(*this); } - void do_estimate(fitter,optvec,optvec,T,std::string>& fit)const + void do_estimate(const data& d,model,std::string>& m)const { - if(model_id!=fit.get_model().get_type_name()) - { - return; - } } }; } -- cgit v1.2.2