From 8e761b9900e80e18ec2881cbc77ac69823c3bce4 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Thu, 7 Mar 2019 12:19:08 -0600 Subject: don't fix the position during the fast fit --- src/fit.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/fit.c b/src/fit.c index 8fa3fad..068a5d6 100644 --- a/src/fit.c +++ b/src/fit.c @@ -5377,15 +5377,6 @@ int fit_event2(event *ev, double *xopt, double *fmin, int *id, size_t n, double ub[6+3*j] = +INFINITY; } - /* Fix the position. */ - lb[0] = pos[0]; - lb[1] = pos[1]; - lb[2] = pos[2]; - - ub[0] = pos[0]; - ub[1] = pos[1]; - ub[2] = pos[2]; - nlopt_set_lower_bounds(opt, lb); nlopt_set_upper_bounds(opt, ub); -- cgit