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

s2loop_measures_test GetSignedArea.ErrorAccumulation fails on arm64 macOS #395

Open
jmr opened this issue Nov 30, 2024 · 0 comments
Open

Comments

@jmr
Copy link
Member

jmr commented Nov 30, 2024

Unclear if this is a problem with the allowed error threshold or the code.

[ RUN      ] GetSignedArea.ErrorAccumulation
.../s2geometry/src/s2/s2loop_measures_test.cc:286: Failure
The difference between expected_area and actual_area is 3.5813685350660762e-11, which exceeds allowed_error, where
expected_area evaluates to 0.78539816339744795,
actual_area evaluates to 0.78539816336163426, and
allowed_error evaluates to 3.4879033766936103e-11.

[  FAILED  ] GetSignedArea.ErrorAccumulation (343 ms)
% c++ --version
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
jmr added a commit to jmr/s2geometry that referenced this issue Nov 30, 2024
This fails and needs more investigation.

google#395

Disable it so we can have clean presubmit checks.
jmr added a commit that referenced this issue Nov 30, 2024
This fails and needs more investigation.

#395

Disable it so we can have clean presubmit checks.
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

No branches or pull requests

1 participant