aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_fitter.cpp4
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);
}