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

K-means test fails under clang #7

Closed
zmughal opened this issue Aug 19, 2015 · 1 comment
Closed

K-means test fails under clang #7

zmughal opened this issue Aug 19, 2015 · 1 comment
Labels

Comments

@zmughal
Copy link
Member

zmughal commented Aug 19, 2015

Fails on this line:

is(tapprox( t_kmeans_bad(), 0 ), 1);

https://rt.cpan.org/Public/Bug/Display.html?id=96742 also had a similar bug.

@mohawk2
Copy link
Member

mohawk2 commented Mar 6, 2025

The test has been finagled to be deterministic by changing random_cluster to use Primitive::random and using srandom in the test. The CI for MacOS will be using clang, and that shows no problems. Therefore, this is no longer an issue.

@mohawk2 mohawk2 closed this as completed Mar 6, 2025
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