From cf6482edbd51e608f2455238800efbb0c52ba559 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 27 Nov 2018 09:21:51 -0600 Subject: update dx_shower to 10 cm to speed things up --- src/fit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fit.c') diff --git a/src/fit.c b/src/fit.c index eac7c79..5bbe1e6 100644 --- a/src/fit.c +++ b/src/fit.c @@ -5213,7 +5213,7 @@ int fit_event(event *ev, double *xopt, double *fmin, int id) * maximum number of function evaluations to 100, and the relative * tolerance on the numerical integration to 10%. */ fpars.dx = 1.0; - fpars.dx_shower = 1.0; + fpars.dx_shower = 10.0; fpars.fast = 1; fpars.print = 0; nlopt_set_ftol_abs(opt, 1.0); @@ -5307,7 +5307,7 @@ int fit_event(event *ev, double *xopt, double *fmin, int id) /* Now, we do the "real" minimization. */ fpars.dx = 1.0; - fpars.dx_shower = 1.0; + fpars.dx_shower = 10.0; fpars.fast = 0; fpars.print = 1; nlopt_set_ftol_abs(opt, 1e-5); -- cgit