SpeysideHEP / spey

Smooth inference for reinterpretation studies
https://spey.readthedocs.io
MIT License
7 stars 1 forks source link

Numeric instability due to comparison with zero #25

Closed jackaraz closed 10 months ago

jackaraz commented 10 months ago

This PR resolves an issue arising due to numeric instability during POI UL computation. Direct comparison with zero is not accurate; hence has been replaced by np.isclose.