[SciPy-User] Problem with ODEINT

Lofgren, Eric elofgren@email.unc....
Sat Nov 26 19:41:08 CST 2011


> Eric,
> You have given odeint an initial condition of length 5, but the function
> that defines your system is returning a vector of only length 3.  Don't do
> that.
> ...

> Warren

Warren-

This does indeed seem to solve the problem, I haven't hit any errors in 1,000 or so runs, and it does indeed make the code run considerably faster. Thank you for the advice and help.

Eric



More information about the SciPy-User mailing list