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

Include rounding in Plane(face) and Plane(loc) #511

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

jdegenstein
Copy link
Collaborator

Platform specific handling of floats is causing tests on aarch64 to fail in relation to orientation. After a lot of investigation and test runs using flyci, rounding to 14 decimal places seems to provide reliable behavior on both x86_64 and aarch64.

This is related to issue #478 and fixes one of the two failing tests mentioned there. This was not, as previously postulated, related to quaternion vs. orientation vector comparison.

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (15a2b89) 96.16% compared to head (f76b8aa) 96.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #511   +/-   ##
=======================================
  Coverage   96.16%   96.17%           
=======================================
  Files          24       24           
  Lines        7467     7471    +4     
=======================================
+ Hits         7181     7185    +4     
  Misses        286      286           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jdegenstein jdegenstein merged commit 6e12787 into gumyr:dev Jan 30, 2024
12 checks passed
@jdegenstein jdegenstein deleted the plane_rounding branch January 31, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant