Skip to content

Commit

Permalink
Don't return a class
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmbaazam committed Nov 10, 2023
1 parent c4064c3 commit ee247d9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/opts.R
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,6 @@ rstan_sampling_opts <- function(cores = getOption("mc.cores", 1L),
opts$control <- modifyList(control_def, control)
opts$iter <- ceiling(samples / opts$chains) + opts$warmup
opts <- c(opts, ...)
attr(opts, "class") <- c("rstan_sampling_opts", class(opts))
return(opts)
}

Expand Down

0 comments on commit ee247d9

Please sign in to comment.