[SciPy-User] Problem with ODEINT

Lofgren, Eric elofgren at email.unc.edu
Sat Nov 26 20:41:08 EST 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