From 7dc02e39a12bf56e6689132334dc35c7b3cad58e Mon Sep 17 00:00:00 2001 From: tlatorre Date: Fri, 24 May 2019 11:36:00 -0400 Subject: switch to using BOBYQA since it's faster --- src/fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fit.c') 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. */ -- cgit