Skip to content

Commit

Permalink
ensure scalar variable extraction for fixed effects
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Mar 12, 2024
1 parent 3e7cda1 commit e6a1672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/prepare_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ prepare_predictions_fe <- function(bterms, draws, sdata, ...) {
if (length(fixef)) {
out$X <- X
b_pars <- paste0("b", p, "_", fixef)
out$b <- prepare_draws(draws, b_pars)
out$b <- prepare_draws(draws, b_pars, scalar = TRUE)
}
out
}
Expand Down

0 comments on commit e6a1672

Please sign in to comment.