aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-03-07 12:19:08 -0600
committertlatorre <tlatorre@uchicago.edu>2019-03-07 12:19:08 -0600
commit8e761b9900e80e18ec2881cbc77ac69823c3bce4 (patch)
tree4cb7f452aa5655b58ec7511e0a031ed1fb04c4cd
parentd4792f1a3fbfeacfa5e64b7fb25d75ab7d242700 (diff)
downloadsddm-8e761b9900e80e18ec2881cbc77ac69823c3bce4.tar.gz
sddm-8e761b9900e80e18ec2881cbc77ac69823c3bce4.tar.bz2
sddm-8e761b9900e80e18ec2881cbc77ac69823c3bce4.zip
don't fix the position during the fast fit
-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);