From 940839ecd20a5c194ce6076240f04b0e98cd8fde Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Thu, 2 Apr 2009 12:28:41 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@12 ed2142bd-67ad-457f-ba7c-d818d4011675 --- misc/bootstrap.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/bootstrap.hpp b/misc/bootstrap.hpp index 3ee53b1..924c86f 100644 --- a/misc/bootstrap.hpp +++ b/misc/bootstrap.hpp @@ -94,7 +94,7 @@ namespace opt_utilities data d; d=origin_data_set.get_data(i); d.set_y(rand_norm(d.get_y(),(d.get_y_upper_err()+d.get_y_lower_err())/2)); - current_data_set.push_back(d); + current_data_set.add_data(d); } p_fitter->load_data(current_data_set); p_fitter->set_param_value(origin_param); -- cgit v1.2.2