Skip to content

Commit

Permalink
fix mac tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmelville committed May 14, 2024
1 parent fc7214d commit f531f47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_distance.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test_that("Dice", {
test_that("Dot", {
bfdense <- brute_force_knn(ui10z, k = 4, metric = "dot")
bfsparse <- brute_force_knn(ui10sp, k = 4, metric = "dot")
expect_equal(bfdense, bfsparse, tol = 1e-5)
expect_equal(bfdense, bfsparse, tol = 1e-4)

bfdense <- brute_force_knn(bitdata, k = 4, metric = "dot")
araw <- brute_force_knn(bitdata, k = 4, metric = "alternative-dot")
Expand Down

0 comments on commit f531f47

Please sign in to comment.