question re odeint
While using scipy.integrate.odeint recently, I noticed that it modifies the object passed as the system's initial value. Is this behavior intentional? It seems that it would be preferable for odeint to use a copy of the initial value rather than manipulating whatever is passed as the second parameter directly. L.G.
Lev Givon wrote:
While using scipy.integrate.odeint recently, I noticed that it modifies the object passed as the system's initial value. Is this behavior intentional? It seems that it would be preferable for odeint to use a copy of the initial value rather than manipulating whatever is passed as the second parameter directly.
L.G. _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
Fixed in svn http://projects.scipy.org/scipy/scipy/changeset/2704 Nils
participants (2)
-
Lev Givon -
Nils Wagner