From 61ab260e41a922fafe3379aa56d8076ee0aac786 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Sun, 4 Jan 2009 16:21:12 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@5 ed2142bd-67ad-457f-ba7c-d818d4011675 --- misc/bootstrap.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'misc/bootstrap.hpp') diff --git a/misc/bootstrap.hpp b/misc/bootstrap.hpp index b46748d..bdee0b8 100644 --- a/misc/bootstrap.hpp +++ b/misc/bootstrap.hpp @@ -10,7 +10,7 @@ using std::cout; namespace opt_utilities { - template + template class bootstrap { private: @@ -29,14 +29,14 @@ namespace opt_utilities std::vector param_pool; default_data_set current_data_set; default_data_set origin_data_set; - fitter* p_fitter; + fitter* p_fitter; Tp origin_param; public: bootstrap() :p_fitter(NULL) {} - void set_fitter(fitter& pf) + void set_fitter(fitter& pf) { param_pool.clear(); p_fitter=&pf; @@ -92,7 +92,7 @@ namespace opt_utilities public: std::pair::element_type,typename element_type_trait::element_type> - interval(std::string param_name,double level) + interval(const Tstr& param_name,double level) { if(p_fitter==NULL) { -- cgit v1.2.2