[Numpy-discussion] A step toward merging odeint and ode

Ralf Gommers ralf.gommers at gmail.com
Mon Aug 20 16:04:13 EDT 2012

On Thu, Aug 16, 2012 at 12:46 PM, Fabrice Silva <silva at lma.cnrs-mrs.fr>wrote:

> Le mercredi 15 août 2012 à 20:54 +0200, Ralf Gommers a écrit :
> > I was mixing it up a bit, but yes: the _odepack extension and the C
> > source for it. Not necessary to do that at once I guess, but wrapping
> > the same function twice is once too many.
> >
> > And forgot in my first email: nice PR, looks good to me.
> OK then, you can found two commits :
> the first one removes the _odepack extension (and the relative
> multipack.h, __odepack.h and _odepackmodule.c), replacing it by Python
> counterparts in the odeint function itself.
> https://github.com/FabricioS/scipy/commit/02e8a4856f29f4ad438fef2c86a41b266d6a9e6c
> Thanks.

> the second one suggests reverting callback arguments convention:
>         ydot = f(y,t,..)
> to ode's one:
>         ydot = f(t,y,..)
> This ones would raise backward compatibility issues but align ordering
> to the convention defined in the LLNL when designing the ODEPACK.
> https://github.com/FabricioS/scipy/commit/f867f2b8133d3f6ea47d449bd760a77a7c90394e
> This is probably not worth the cost for existing users imho. It is a
backwards compatibility break that doesn't really add anything except for
some consistency (right?).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20120820/81829a2e/attachment.html>

More information about the NumPy-Discussion mailing list