Skip to content

Commit

Permalink
Update R/epidist_utils.R
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo Gruson <Bisaloo@users.noreply.github.com>
  • Loading branch information
joshwlambert and Bisaloo committed May 31, 2023
1 parent 34290f8 commit 41c1ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/epidist_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ is_epidist_params <- function(prob_dist_params) {
# check whether any combinations are valid
matches <- lapply(
possible_params,
function(x, y) x == y,
setequal,
y = names(prob_dist_params)
)
is_valid_params <- any(unlist(lapply(matches, all)))
Expand Down

0 comments on commit 41c1ee4

Please sign in to comment.