diff --git a/vignettes/small_model_workflow/combined_first.stan b/vignettes/small_model_workflow/combined_first.stan index 791b0ba..fe95c00 100644 --- a/vignettes/small_model_workflow/combined_first.stan +++ b/vignettes/small_model_workflow/combined_first.stan @@ -1,6 +1,6 @@ data { int N_obs; - int y[N_obs]; + array[N_obs] int y; int N_predictors; matrix[N_predictors, N_obs] x; diff --git a/vignettes/small_model_workflow/mixture_first.stan b/vignettes/small_model_workflow/mixture_first.stan index 3d780b5..cf94bf0 100644 --- a/vignettes/small_model_workflow/mixture_first.stan +++ b/vignettes/small_model_workflow/mixture_first.stan @@ -1,6 +1,6 @@ data { int N; - int y[N]; + array[N] int y; } parameters { diff --git a/vignettes/small_model_workflow/mixture_fixed_log_mix.stan b/vignettes/small_model_workflow/mixture_fixed_log_mix.stan index df919be..14e912e 100644 --- a/vignettes/small_model_workflow/mixture_fixed_log_mix.stan +++ b/vignettes/small_model_workflow/mixture_fixed_log_mix.stan @@ -1,6 +1,6 @@ data { int N; - int y[N]; + array[N] int y; } parameters { diff --git a/vignettes/small_model_workflow/mixture_fixed_ordered.stan b/vignettes/small_model_workflow/mixture_fixed_ordered.stan index 6832c3a..0c96cc4 100644 --- a/vignettes/small_model_workflow/mixture_fixed_ordered.stan +++ b/vignettes/small_model_workflow/mixture_fixed_ordered.stan @@ -1,6 +1,6 @@ data { int N; - int y[N]; + array[N] int y; } parameters { diff --git a/vignettes/stan/discrete_vars1.stan b/vignettes/stan/discrete_vars1.stan index 83e0027..4686fff 100644 --- a/vignettes/stan/discrete_vars1.stan +++ b/vignettes/stan/discrete_vars1.stan @@ -3,7 +3,7 @@ data { real r_l; int T; - int y[T]; + array[T] int y; } transformed data { real log_unif; diff --git a/vignettes/stan/poisson.stan b/vignettes/stan/poisson.stan index b9ef2f8..5cb14ca 100644 --- a/vignettes/stan/poisson.stan +++ b/vignettes/stan/poisson.stan @@ -1,6 +1,6 @@ data{ int N; - int y[N]; + array[N] int y; } parameters{ real lambda; diff --git a/vignettes/stan/rejection_sampling.stan b/vignettes/stan/rejection_sampling.stan index 203ee4e..e962b75 100644 --- a/vignettes/stan/rejection_sampling.stan +++ b/vignettes/stan/rejection_sampling.stan @@ -1,6 +1,6 @@ data { int N; - real y[N]; + array[N] real y; } parameters {