Skip to content

Commit

Permalink
Fix distribution getting step of composite distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Aug 27, 2024
1 parent 6fedd41 commit 9456a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ check_stan_delay <- function(dist) {
params <- get_parameters(dist, id)
vapply(params, function(x) {
is.numeric(x) ||
(is(x, "dist_spec") && get_distribution(x, id) == "normal" &&
(is(x, "dist_spec") && get_distribution(x) == "normal" &&
is.infinite(max(x)))
}, logical(1))}

Check warning on line 90 in R/checks.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/checks.R,line=90,col=19,[brace_linter] Closing curly-braces should always be on their own line, unless they are followed by an else.
}))
Expand Down

0 comments on commit 9456a1e

Please sign in to comment.