Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Nov 6, 2024
1 parent 93e29f1 commit 1957420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-sample.R
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,6 @@ test_that("can use samples as initial conditions", {
res1 <- monty_sample(m, sampler, 50, initial, n_chains = 2)
res2 <- monty_sample(m, sampler, 20, res1, n_chains = 3)

expect_equal(dim(res1$pars), c(2, 20, 2))
expect_equal(dim(res1$pars), c(2, 50, 2))
expect_equal(dim(res2$pars), c(2, 20, 3))
})

0 comments on commit 1957420

Please sign in to comment.