Skip to content

Commit

Permalink
Tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jun 5, 2024
1 parent d69bf73 commit 9d5bc55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_stan_glm.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ test_that("stan_glm returns expected result for bernoulli", {
val <- coef(fit)
if (links[i] != "log") {
ans <- coef(glm(y ~ x, family = fam, etastart = theta))
expect_equal(val, ans, 0.09, info = links[i])
expect_equal(val, ans, 0.15, info = links[i])
}
# else expect_equal(val[-1], ans[-1], 0.06, info = links[i])
}
Expand Down

0 comments on commit 9d5bc55

Please sign in to comment.