Skip to content

Commit

Permalink
Check if Inf occurs on lower or upper
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisaloo committed Apr 29, 2024
1 parent f730a4b commit de5130c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/extract_param.R
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ extract_param <- function(type = c("percentiles", "range"),
}
if (distribution == "weibull") {
names(param) <- c("shape", "scale")
lower <- c(1e-10, 1e-10)
lower <- c(1e-10, 1e-10),
upper <- c(1e10, 1e10)
}
if (distribution == "norm") {
names(param) <- c("mean", "sd")
Expand Down

0 comments on commit de5130c

Please sign in to comment.