Skip to content

Commit

Permalink
added defaults to ind_control and pop_control in probability_extinct …
Browse files Browse the repository at this point in the history
…to match signature of probability_epidemic
  • Loading branch information
joshwlambert committed Dec 14, 2023
1 parent 4668c9a commit 4df3a52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/probability_epidemic.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ probability_epidemic <- function(R,
probability_extinct <- function(R,
k,
num_init_infect,
ind_control,
pop_control,
ind_control = 0,
pop_control = 0,
...,
offspring_dist) {
# input checking done in probability_epidemic
Expand Down

0 comments on commit 4df3a52

Please sign in to comment.