Skip to content

Commit 6ae317d

Browse files
Merge pull request #14 from andrjohns/rstan2.36-compat
Update deprecated Stan syntax
2 parents 010fba1 + 5a06c60 commit 6ae317d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/stan/dirichregmod.stan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ data { // set up to run a single instance (1 stock) of GSI observations
1111
int tot_re; // total number of random intercepts
1212
int n_groups; // number of re groups
1313
matrix[N_samples, tot_re] design_Z; // design matrix of random ints
14-
int re_var_indx[tot_re + 1]; // total index across acll groups
15-
int n_re_by_group[n_groups + 1]; // indices by group
14+
array[tot_re + 1] int re_var_indx; // total index across acll groups
15+
array[n_groups + 1] int n_re_by_group; // indices by group
1616
int est_re; // 0 or 1 indicator
1717
}
1818
transformed data {

0 commit comments

Comments
 (0)