Skip to content

Commit

Permalink
Merge pull request #1548 from andrjohns/fix-cmdstanr-silent
Browse files Browse the repository at this point in the history
Update translation of silent argument to fix cmdstanr breakage
  • Loading branch information
paul-buerkner authored Oct 10, 2023
2 parents 7d4e18e + deffb7c commit 9f1e74b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/backends.R
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ fit_model <- function(model, backend, ...) {
iter_warmup = warmup,
chains, thin,
parallel_chains = cores,
show_messages = !silent,
show_messages = silent < 2,
show_exceptions = silent == 0,
fixed_param = algorithm == "fixed_param"
)
out <- do_call(model$sample, args)
Expand Down

0 comments on commit 9f1e74b

Please sign in to comment.