The error says:
lhs has type vector and rhs has type array[] vector
Which means that C is an array of vectors but y[1] is a single vector, so Stan doesn’t know how to assign
The error says:
lhs has type vector and rhs has type array[] vector
Which means that C is an array of vectors but y[1] is a single vector, so Stan doesn’t know how to assign