aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-31 16:10:28 -0500
committertlatorre <tlatorre@uchicago.edu>2019-03-31 16:10:28 -0500
commitdda90d721a67a3d64e685aa23fe4882e5401d6d5 (patch)
treec9ceba3609567ee0f9b1f0b8f2dc230d1fc35a35
parentd5b09631af421d46e65fc8f75dcdab0678cb4cb3 (diff)
downloadsddm-dda90d721a67a3d64e685aa23fe4882e5401d6d5.tar.gz
sddm-dda90d721a67a3d64e685aa23fe4882e5401d6d5.tar.bz2
sddm-dda90d721a67a3d64e685aa23fe4882e5401d6d5.zip
switch back to using subplex
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fit.c b/src/fit.c
index b6d4078..88a4a1f 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -5268,7 +5268,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_BOBYQA, 4+3*n);
+ opt = nlopt_create(NLOPT_LN_SBPLX, 4+3*n);
nlopt_set_min_objective(opt,nlopt_nll2,&fpars);
/* Guess the position and t0 of the event using the QUAD fitter. */