Open mattja opened 7 years ago
sdeint needs some tighter input validation, if people try to use a state vector y with shape (n,1) instead of (n,) e.g. mattja/nsim#2
I see that scipy.integrate.odeint also refuses this kind of input. But it gives a proper error message:
scipy.integrate.odeint
RuntimeError: The array return by func must be one-dimensional, but got ndim=2.
sdeint needs some tighter input validation, if people try to use a state vector y with shape (n,1) instead of (n,) e.g. mattja/nsim#2
I see that
scipy.integrate.odeint
also refuses this kind of input. But it gives a proper error message: