From dda90d721a67a3d64e685aa23fe4882e5401d6d5 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Sun, 31 Mar 2019 16:10:28 -0500 Subject: switch back to using subplex --- src/fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. */ -- cgit