Skip to content

Commit

Permalink
Merge branch 'main' into weibull-log-normal
Browse files Browse the repository at this point in the history
  • Loading branch information
edknock committed Dec 9, 2024
2 parents a2ee1c8 + 13e46d4 commit 838502c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parse_expr.R
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ parse_expr_usage_rewrite_stochastic <- function(expr, src, call) {
mean <- substitute_(
res$value$expr$mean,
set_names(lapply(args, rewrite_stochastic_to_expectation),
names(formals(res$value$sample))[-1]))
names(formals(res$value$density))[-1]))

expr[[1]] <- call("OdinStochasticCall",
sample = res$value$cpp$sample,
Expand Down

0 comments on commit 838502c

Please sign in to comment.