aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-17 11:55:46 -0500
committertlatorre <tlatorre@uchicago.edu>2019-03-17 11:55:46 -0500
commit27072670a13a257f2e2350877f8e5e97bd4844fd (patch)
tree89e7cb88abe2e38164bdc207303b4c481ebd6e2f /src
parent516f1f390e34283b5cdbc4740b62a85db0410a3d (diff)
downloadsddm-27072670a13a257f2e2350877f8e5e97bd4844fd.tar.gz
sddm-27072670a13a257f2e2350877f8e5e97bd4844fd.tar.bz2
sddm-27072670a13a257f2e2350877f8e5e97bd4844fd.zip
set a relative tolerance of 1e-2 on the optimization parameters in the fast fit
Diffstat (limited to 'src')
-rw-r--r--src/fit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fit.c b/src/fit.c
index 35d5950..4674e3d 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -5340,6 +5340,7 @@ int fit_event2(event *ev, double *xopt, double *fmin, int *id, size_t n, double
fpars.print = 0;
fpars.charge_only = 0;
nlopt_set_ftol_abs(opt, 1e-5);
+ nlopt_set_xtol_rel(opt, 1e-2);
nlopt_set_maxeval(opt, 10000);
fpars.n = n;