aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-11-27 09:21:51 -0600
committertlatorre <tlatorre@uchicago.edu>2018-11-27 09:21:51 -0600
commitcf6482edbd51e608f2455238800efbb0c52ba559 (patch)
treea579f87f98e4c6bbb23e6292ed5e35c9ae5bbcef
parent4f84f5bdfb09fa299cc48020c5ece340bb45822e (diff)
downloadsddm-cf6482edbd51e608f2455238800efbb0c52ba559.tar.gz
sddm-cf6482edbd51e608f2455238800efbb0c52ba559.tar.bz2
sddm-cf6482edbd51e608f2455238800efbb0c52ba559.zip
update dx_shower to 10 cm to speed things up
-rw-r--r--src/fit.c4
1 files changed, 2 insertions, 2 deletions
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);