aboutsummaryrefslogtreecommitdiff
path: root/src/fit.c
diff options
context:
space:
mode:
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 a977fd5..2a86456 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -57,7 +57,7 @@ int fit_event(event *ev, double *fmin)
int rv;
nlopt_opt opt = nlopt_create(NLOPT_LN_SBPLX, 7);
- nlopt_set_min_objective(opt,nll,&ev);
+ nlopt_set_min_objective(opt,nll,ev);
nlopt_set_ftol_abs(opt, 1e-5);
x[0] = 1000.0;