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

Fix TestReprojectAndCoAdd failure on i386 #386

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

olebole
Copy link
Member

@olebole olebole commented Sep 8, 2023

On i386, this test resulted in a failure because of relative differences ~2e-16. As floats are compared, minimal floating point differences my appear. This PR replaces the strict equal with an allclose test.

On i386, this test resulted in a failure because of relative
differences ~2e-16. As floats are compared, minimal floating point
differences my appear. This patch replaces the strict equal with an
allclose test.
@codecov
Copy link

codecov bot commented Sep 8, 2023

Codecov Report

Merging #386 (b8f8e4e) into main (b7a5287) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #386   +/-   ##
=======================================
  Coverage   93.53%   93.53%           
=======================================
  Files          25       25           
  Lines         882      882           
=======================================
  Hits          825      825           
  Misses         57       57           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

📢 Have feedback on the report? Share it here.

@astrofrog
Copy link
Member

pre-commit.ci autofix

@astrofrog astrofrog merged commit 9a5d2d2 into astropy:main Sep 11, 2023
14 of 15 checks passed
@astrofrog astrofrog added the bug label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants