aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-04-02 12:28:41 +0000
committerastrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675>2009-04-02 12:28:41 +0000
commit940839ecd20a5c194ce6076240f04b0e98cd8fde (patch)
tree7911ca3175d526f867ff288bd61f61d6a4ab56c9 /misc
parent4954b5638ced13c2f9d2f0ec4dca77b03f7e89d0 (diff)
downloadopt-utilities-940839ecd20a5c194ce6076240f04b0e98cd8fde.tar.bz2
git-svn-id: file:///home/svn/opt_utilities@12 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'misc')
-rw-r--r--misc/bootstrap.hpp2
1 files changed, 1 insertions, 1 deletions
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<Ty,Tx> 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);