Skip to content

Commit

Permalink
Updated small model workflow Stan code to latest array format
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmodrak committed Mar 13, 2024
1 parent 8a92588 commit ab2ae12
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion vignettes/small_model_workflow/combined_first.stan
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data {
int<lower=0> N_obs;
int y[N_obs];
array[N_obs] int y;

int<lower=1> N_predictors;
matrix[N_predictors, N_obs] x;
Expand Down
2 changes: 1 addition & 1 deletion vignettes/small_model_workflow/mixture_first.stan
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data {
int<lower=0> N;
int y[N];
array[N] int y;
}

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

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

parameters {
Expand Down

0 comments on commit ab2ae12

Please sign in to comment.