Skip to content

Commit

Permalink
fix issue #1573
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Dec 14, 2023
1 parent c00f012 commit 474e11d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: brms
Encoding: UTF-8
Type: Package
Title: Bayesian Regression Models using 'Stan'
Version: 2.20.6
Date: 2023-11-13
Version: 2.20.7
Date: 2023-12-14
Authors@R:
c(person("Paul-Christian", "Bürkner", email = "[email protected]",
role = c("aut", "cre")),
Expand Down
4 changes: 0 additions & 4 deletions R/stan-predictor.R
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ stan_fe <- function(bterms, data, prior, stanvars, threads, primitive,
fixef <- colnames(data_fe(bterms, data)$X)
sparse <- is_sparse(bterms$fe)
decomp <- get_decomp(bterms$fe)
if (length(fixef) < 2L) {
# decompositions require at least two predictors
decomp <- "none"
}
center_X <- stan_center_X(bterms)
ct <- str_if(center_X, "c")
# remove the intercept from the design matrix?
Expand Down
6 changes: 4 additions & 2 deletions man/as.mcmc.brmsfit.Rd

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

0 comments on commit 474e11d

Please sign in to comment.