diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 11:36:00 -0400 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-05-24 11:36:00 -0400 |
commit | 7dc02e39a12bf56e6689132334dc35c7b3cad58e (patch) | |
tree | 347a7dfe8cd737577ef6d27f10ebfbf3b14fb546 | |
parent | 8f47a51d4c91a3303982b6cc2fa0d76cbd392a37 (diff) | |
download | sddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.tar.gz sddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.tar.bz2 sddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.zip |
switch to using BOBYQA since it's faster
-rw-r--r-- | src/fit.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5270,7 +5270,7 @@ int fit_event2(event *ev, double *xopt, double *fmin, int *id, size_t n, double int status; /* Create the minimizer object. */ - opt = nlopt_create(NLOPT_LN_SBPLX, 4+3*n); + opt = nlopt_create(NLOPT_LN_BOBYQA, 4+3*n); nlopt_set_min_objective(opt,nlopt_nll2,&fpars); /* Guess the position and t0 of the event using the QUAD fitter. */ |