aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-05-24 11:36:00 -0400
committertlatorre <tlatorre@uchicago.edu>2019-05-24 11:36:00 -0400
commit7dc02e39a12bf56e6689132334dc35c7b3cad58e (patch)
tree347a7dfe8cd737577ef6d27f10ebfbf3b14fb546 /src/fit.c
parent8f47a51d4c91a3303982b6cc2fa0d76cbd392a37 (diff)
downloadsddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.tar.gz
sddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.tar.bz2
sddm-7dc02e39a12bf56e6689132334dc35c7b3cad58e.zip
switch to using BOBYQA since it's faster
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 9d6d781..9968d15 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -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. */