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

DM-29767: Take absolute value of deviation to compare with uncertainty measures #172

Merged
merged 2 commits into from Apr 29, 2021

Conversation

arunkannawadi
Copy link
Member

In a few unit tests, the signed deviation is checked against a positive number and the assertion is True if the deviation is lesser than the estimated uncertainty. The assertion would pass for large negative deviations, which the unit test is supposed to catch. The fixes in this PR take absolute value of the deviations before comparing to the estimated uncertainties.

Copy link
Contributor

@cmsaunders cmsaunders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good!

@arunkannawadi
Copy link
Member Author

Thanks, Clare!

@arunkannawadi arunkannawadi merged commit c2127a9 into master Apr 29, 2021
@arunkannawadi arunkannawadi deleted the tickets/DM-29767 branch April 29, 2021 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants