Skip to content

Commit

Permalink
fix old array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Jan 18, 2024
1 parent 39399e6 commit 0f38c3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/chunks/fun_stack_vectors.stan
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* grouped data stored linearly in "data" as indexed by begin and end
* is repacked to be stacked into an array of vectors.
*/
vector[] stack_vectors(vector long_data, int n, array[] int stack,
array[] int begin, array[] int end) {
array[] vector stack_vectors(vector long_data, int n, array[] int stack,
array[] int begin, array[] int end) {
int S = sum(stack);
int G = size(stack);
array[S] vector[n] stacked;
Expand Down

0 comments on commit 0f38c3d

Please sign in to comment.