"Expected non-array type after "array" declaration" error in ODE solver of Cmdstanr with missing data

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

1 Like