Skip to content

Commit

Permalink
fix issue #1634
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Sep 12, 2024
1 parent 0c18814 commit a3b38f3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/brm.R
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
#' variational inference with independent normal distributions,
#' \code{"fullrank"} for variational inference with a multivariate normal
#' distribution, \code{"pathfinder"} for the pathfinder algorithm,
#' \code{"laplace"} for the laplace approximation,
#' or \code{"fixed_param"} for sampling from fixed parameter
#' values. Can be set globally for the current \R session via the
#' \code{"brms.algorithm"} option (see \code{\link{options}}).
Expand Down
2 changes: 1 addition & 1 deletion R/stan-predictor.R
Original file line number Diff line number Diff line change
Expand Up @@ -2039,7 +2039,7 @@ stan_eta_combine <- function(bframe, out, threads, primitive, ...) {
out$loopeta <- NULL
# some links need custom Stan functions
link <- bframe$family$link
link_names <- c("cauchit", "cloglog", "softplus", "squareplus", "softit")
link_names <- c("cauchit", "cloglog", "softplus", "squareplus", "softit", "tan_half")
needs_link_fun <- isTRUE(link %in% link_names)
if (needs_link_fun) {
str_add(out$fun) <- glue(" #include 'fun_{link}.stan'\n")
Expand Down
1 change: 1 addition & 0 deletions man/brm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions man/brm_multiple.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a3b38f3

Please sign in to comment.