diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-02-08 09:23:14 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2010-02-08 09:23:14 +0000 |
commit | db1d374b7a24b8f3f74e17d706704d93f1e66d90 (patch) | |
tree | f6043b9df2ebfca0b4fea721e14d861785e985a5 /test/test_fitter.cpp | |
parent | 435b4484e00b1ac3b6ee5e87b81f5b8af4f1e653 (diff) | |
download | opt-utilities-db1d374b7a24b8f3f74e17d706704d93f1e66d90.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@110 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'test/test_fitter.cpp')
-rw-r--r-- | test/test_fitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_fitter.cpp b/test/test_fitter.cpp index 5e5b139..226d4ce 100644 --- a/test/test_fitter.cpp +++ b/test/test_fitter.cpp @@ -1,4 +1,5 @@ #include <core/fitter.hpp> +#include <misc/bootstrap.hpp> #include <methods/powell/powell_method.hpp> #include <statistics/chisq.hpp> #include <models/nbeta1d.hpp> @@ -36,4 +37,7 @@ int main(int argc,char* argv[]) { cout<<f.get_param_info(i).get_name()<<"="<<f.get_param_info(i).get_value()<<endl; } + bootstrap<double,double,vector<double>,double,std::string> bst; + bst.set_fitter(f); + bst.sample(1000); } |