Skip to content

Commit

Permalink
Updating stan code to the most recent syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
timostenz committed Mar 12, 2024
1 parent defb7d2 commit 8a92588
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vignettes/stan/discrete_vars1.stan
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ data {
real<lower=0> r_l;

int<lower=1> T;
int<lower=0> y[T];
array[T] int<lower=0> y;
}
transformed data {
real log_unif;
Expand Down
2 changes: 1 addition & 1 deletion vignettes/stan/poisson.stan
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data{
int N;
int y[N];
array[N] int y;
}
parameters{
real<lower = 0> lambda;
Expand Down
2 changes: 1 addition & 1 deletion vignettes/stan/rejection_sampling.stan
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data {
int<lower=0> N;
real y[N];
array[N] real y;
}

parameters {
Expand Down

0 comments on commit 8a92588

Please sign in to comment.