aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fit.c9
1 files changed, 0 insertions, 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);