[SciPy-User] Ticket #1187: ode crashes if rhs returns a tuple instead of a list
Thu Nov 10 08:39:37 CST 2011
On 11/09/2011 04:02 PM, Tony Yu wrote:
> I just want to draw attention to the bug report in
> http://projects.scipy.org/scipy/ticket/1187. Basically,
> scipy.integrate.ode takes a function as input, and the error occurs if
> that function returns a tuple (instead of, e.g., a list).
> If there isn't a simple fix (I can't tell b/c the error occurs within
> C-code, which I'm not at all proficient in), then I think this should
> print a more informative error message.
> SciPy-User mailing list
Now I understand, perhaps providing the actual code to the ticket would
Here you are replacing a mutable object with an immutable object so that
may be an issue.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-User