Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
edknock committed Oct 23, 2024
1 parent bcd1e09 commit a0cd09f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-sampler-random-walk.R
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,9 @@ test_that("Can rerun a stochastic model", {
set.seed(1)
m <- ex_sir_filter_posterior()
vcv <- matrix(c(0.0006405, 0.0005628, 0.0005628, 0.0006641), 2, 2)
sampler1 <- monty_sampler_random_walk(vcv = vcv, rerun_every = 2)
sampler2 <- monty_sampler_random_walk(vcv = vcv, rerun_every = 2,
rerun_random = TRUE)
sampler1 <- monty_sampler_random_walk(vcv = vcv, rerun_every = 2,
rerun_random = FALSE)
sampler2 <- monty_sampler_random_walk(vcv = vcv, rerun_every = 2)
res1 <- monty_sample(m, sampler1, 20)
res2 <- monty_sample(m, sampler2, 20)

Expand Down

0 comments on commit a0cd09f

Please sign in to comment.