Skip to content

Commit

Permalink
fix bug in is_continuous for <epiparameter>s with normal distributions,
Browse files Browse the repository at this point in the history
closes #421
  • Loading branch information
joshwlambert committed Nov 27, 2024
1 parent 11c352f commit 1c94e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/epiparameter.R
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ is_continuous <- function(x) {
fam <- family(x)
}

all(fam %in% c("gamma", "lnorm", "weibull", "normal")) &&
all(fam %in% c("gamma", "lnorm", "weibull", "norm")) &&
!inherits(x$prob_distribution, "distcrete")
}

Expand Down

0 comments on commit 1c94e67

Please sign in to comment.