Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Feb 10, 2021
1 parent bb8f890 commit 2323d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/stan-prior.R
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ stan_special_prior_local <- function(prior, class, ncoef, px,
m1 <- str_if(center_X, " -1")
str_add(out$data) <- glue(
" // concentration vector of the D2 prior\n",
" vector<lower=0>[K{sp}{m1}] R2D2_cons_D2;\n"
" vector<lower=0>[K{sp}{m1}] R2D2_cons_D2{sp};\n"
)
str_add(out$par) <- glue(
" // local parameters for the R2D2 prior\n",
Expand Down

0 comments on commit 2323d93

Please sign in to comment.