Resizing ODE integrator with matrix or VectorOfArray initial condition

I didn’t run any code, but could it be that you need to call resize! with two size arguments (e.g. for two-dimensional arrays instead of one-dimensional vectors)? For example resize!(integrator, 2, 4), just guessing.

1 Like