From a5d1cb584e6da93f571c165940f21a0523e2a63f Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" <1330696+mr-c@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:20:00 +0200 Subject: [PATCH] Fix test for riscv64 (#114) Fixes #113 --- tests/testthat/test-hashing.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testthat/test-hashing.R b/tests/testthat/test-hashing.R index 74c8493..3ab404e 100644 --- a/tests/testthat/test-hashing.R +++ b/tests/testthat/test-hashing.R @@ -241,7 +241,7 @@ test_that("edge cases are handled correctly with combinatorial barcodes", { out <- hashedDrops(mat[keep,,drop=FALSE], combinations=rbind(4:2), ambient=ambient[keep]) SCALING <- median(mat[keep]/ambient[keep]) PSEUDO <- mean(ambient[keep]) * SCALING - expect_identical(out$LogFC, .compute_expected_lfc(SCALING, PSEUDO)) + expect_equal(out$LogFC, .compute_expected_lfc(SCALING, PSEUDO)) } })