aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
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);