aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;