From b6fc29121d41e590537af740133bfacb55938fe5 Mon Sep 17 00:00:00 2001 From: LTLA Date: Thu, 5 Sep 2024 10:48:30 -0700 Subject: [PATCH] Fixed a test. --- tests/testthat/test-findDistance.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-findDistance.R b/tests/testthat/test-findDistance.R index d154669..1f7a098 100644 --- a/tests/testthat/test-findDistance.R +++ b/tests/testthat/test-findDistance.R @@ -19,7 +19,7 @@ test_that("findDistance works in parallel", { out <- findDistance(Y, k=8) dist <- findDistance(Y, k=8, num.threads=2) - expect_identical(out[,8], dist) + expect_identical(out, dist) }) test_that("findDistance works with subsets", {