v0.4.2 🌌
Changes
Bugfix
Negative TS values occur when the iminuit optimization does not lead to the global minimum, but is close to it. If the proposed upper limit has a log-likelihood value smaller than the value from the optimization, the TS value is negative.
Fixed by setting ts=0
if ts<0
and close to zero |ts|<1e-3
else an error is raised