Skip to content

Commit

Permalink
hotfix: update phi syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Feb 29, 2024
1 parent 607be0a commit a6c63e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-simulate-infections.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ test_that("simulate_infections works as expected with additional parameters", {
sim <- test_simulate_infections(
generation_time = generation_time_opts(fix_dist(example_generation_time)),
delays = delay_opts(fix_dist(example_reporting_delay)),
obs = obs_opts(family = "negbin", phi = c(0.5, 0))
obs = obs_opts(family = "negbin", phi = list(mean = 0.5, sd = 0))
)
expect_equal(nrow(sim), 2 * nrow(R))
expect_snapshot_output(sim)
Expand Down

0 comments on commit a6c63e2

Please sign in to comment.