aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fit.c b/src/fit.c
index f292325..31c5daf 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -5252,7 +5252,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. */