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 failing TiledKNNTest unittest #1533

Merged
merged 3 commits into from
May 18, 2023

Conversation

benfred
Copy link
Member

@benfred benfred commented May 18, 2023

The TiledKNNTest test was faiiling - and it seems to be because the matrix::select_k code isn't guaranteed to return elements in sorted order. The test was expecting outputs to be sorted, and was failing because of it. This change fixes the test to sort the outputs before comparing.

Closes #1526

The TiledKNNTest test was faiiling - and it seems to be because
the matrix::select_k code isn't guaranteed to return elements in
sorted order. The test was expecting outputs to be sorted, and was
failing because of it. This change fixes the test to sort the
outputs before comparing.

Closes rapidsai#1526
@benfred benfred requested a review from a team as a code owner May 18, 2023 18:23
@github-actions github-actions bot added the cpp label May 18, 2023
@benfred benfred added bug Something isn't working non-breaking Non-breaking change labels May 18, 2023
@benfred
Copy link
Member Author

benfred commented May 18, 2023

/merge

@rapids-bot rapids-bot bot merged commit 29d1c15 into rapidsai:branch-23.06 May 18, 2023
@benfred benfred deleted the fix_failing_bfknn_test branch May 18, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

[BUG] TiledKNNTest fails
2 participants