We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c20bdce commit 01a295cCopy full SHA for 01a295c
BGlib/misc/jc2_bg_gui.py
@@ -501,8 +501,8 @@ def on_do_loop_guess(self):
501
)
502
self.loop_fitter.do_guess()
503
prior = self.loop_fitter.prior # shape (n_guess, 9)
504
- lower_bounds1 = np.min(prior, axis=0)
505
- upper_bounds1 = np.max(prior, axis=0)
+ lower_bounds1 = np.min(prior, axis=0) - 1e-5
+ upper_bounds1 = np.max(prior, axis=0) + 1e-5
506
lower_bounds2 = np.array(self.loop_default_lower, dtype=float)
507
upper_bounds2 = np.array(self.loop_default_upper, dtype=float)
508
lower_bounds = np.minimum(lower_bounds1, lower_bounds2)
0 commit comments