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

VectorDTest.TestSquaredDistance is broken in clang-14 #935

Closed
yurivict opened this issue Oct 28, 2022 · 2 comments
Closed

VectorDTest.TestSquaredDistance is broken in clang-14 #935

yurivict opened this issue Oct 28, 2022 · 2 comments
Assignees
Labels

Comments

@yurivict
Copy link

[ RUN      ] VectorDTest.TestSquaredDistance
/disk-samsung/freebsd-ports/archivers/draco/work/draco-1.5.4/src/draco/core/vector_d_test.cc:40: Failure
Expected equality of these values:
  squared_distance
    Which is: 41.58
  result
    Which is: 41.58
/disk-samsung/freebsd-ports/archivers/draco/work/draco-1.5.4/src/draco/core/vector_d_test.cc:40: Failure
Expected equality of these values:
  squared_distance
    Which is: 42.22
  result
    Which is: 42.22
[  FAILED  ] VectorDTest.TestSquaredDistance (0 ms)

Version: 1.5.4
clang-14
FreeBSD 13.1

@tomfinegan
Copy link
Contributor

That's strange. Those values are correct. Can you rerun, and/or maybe drop some logging in there? These issues are not reproducing elsewhere, and I don't have access to a FreeBSD system.

@tomfinegan tomfinegan self-assigned this Oct 28, 2022
@tomfinegan tomfinegan added the bug label Oct 28, 2022
@tomfinegan
Copy link
Contributor

Actually, I can repro it with clang-14 on debian. Investigating.

@tomfinegan tomfinegan changed the title One test fails VectorDTest.TestSquaredDistance is broken in clang-14 Oct 28, 2022
This was referenced Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants