Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Numeric instability due to comparison with zero #25

Merged
merged 9 commits into from Nov 22, 2023
Merged

Numeric instability due to comparison with zero #25

merged 9 commits into from Nov 22, 2023

Conversation

jackaraz
Copy link
Contributor

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.

@jackaraz jackaraz added the bug Something isn't working label Nov 20, 2023
@jackaraz jackaraz linked an issue Nov 20, 2023 that may be closed by this pull request
1 task
@jackaraz jackaraz marked this pull request as ready for review November 22, 2023 15:25
@jackaraz jackaraz merged commit a37ef6e into main Nov 22, 2023
1 check passed
@jackaraz jackaraz deleted the issue23 branch November 22, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Strong machine dependence of spey results (simplified likelihoods)
1 participant