Skip to content

Commit

Permalink
Merge pull request #7 from andrjohns/array-syntax
Browse files Browse the repository at this point in the history
Update deprecated syntax for future rstan compatibility
  • Loading branch information
olssol authored Feb 20, 2024
2 parents 4f49259 + f8c105f commit 078a327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/stan/eds.stan
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ data {
vector[SIZE] Y;
vector[SIZE] SIGY;
matrix[SIZE, NX] X;
int<lower=0> TAUINX[NX];
array[NX] int<lower=0> TAUINX;

real<lower=0> D;
real<lower=0> DELTA;
Expand All @@ -31,7 +31,7 @@ data {

parameters {
real b0;
real<lower=0> omega[NTAU];
array[NTAU] real<lower=0> omega;
vector<lower=0, upper=1>[SIZE] uvs;
vector[SIZE] nvs;
vector[NX] nomega;
Expand Down

0 comments on commit 078a327

Please sign in to comment.