We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fixed_param=TRUE
1 parent c681d32 commit ec5d9b3Copy full SHA for ec5d9b3
1 file changed
R/model.R
@@ -1208,7 +1208,7 @@ sample <- function(data = NULL,
1208
}
1209
1210
1211
- if (cmdstan_version() >= "2.27.0" && !fixed_param) {
+ if (cmdstan_version() >= "2.27.0" && cmdstan_version() < "2.36.0" && !fixed_param) {
1212
if (self$has_stan_file() && file.exists(self$stan_file())) {
1213
if (!is.null(self$variables()) && length(self$variables()$parameters) == 0) {
1214
stop("Model contains no parameters. Please use 'fixed_param = TRUE'.", call. = FALSE)
0 commit comments