Skip to content

Commit

Permalink
fix get_model_code for CmdStanMCMC objects, run-extended
Browse files Browse the repository at this point in the history
  • Loading branch information
santikka committed Aug 13, 2024
1 parent 60b1564 commit 53c1bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/stan_utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ get_model_code.stanfit <- function(x) {
#' @keywords internal
#' @export
get_model_code.CmdStanMCMC <- function(x) {
x$code()
paste0(x$code(), collapse = "\n")
}

#' @rdname get_model_code
Expand Down

0 comments on commit 53c1bf0

Please sign in to comment.