aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fit.c')
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fit.c b/src/fit.c
index 339eeba..e29e375 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -5286,7 +5286,7 @@ int fit_event(event *ev, double *xopt, double *fmin)
nlopt_optimize(opt,x,&fval);
if (stop) goto end;
- } while (fval < *fmin && fabs(fval-*fmin) > 1e-5);
+ } while (fval < *fmin && fabs(fval-*fmin) > 1e-2);
if (fval < *fmin) {
*fmin = fval;