Skip to content

Commit 40dd3c8

Browse files
author
Eric Weine
committed
updated test tolerance
1 parent 569a5ba commit 40dd3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_fit_glmpca_pois.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ test_that("Final fit is the same with single thread or multiple threads",{
207207
calc_max_diff = TRUE))))
208208
fit1$progress[,"time"] <- 0
209209
fit2$progress[,"time"] <- 0
210-
expect_equal(fit1,fit2)
210+
expect_equal(fit1,fit2, tolerance = 1e-7)
211211
})
212212

213213
test_that("Final fit is (roughly) the same with or without daarem",{

0 commit comments

Comments
 (0)