[SciPy-user] Problems with scipy.integrate.ode

Pearu Peterson pearu at cens.ioc.ee
Sat Apr 19 13:36:44 EDT 2003


On Sat, 19 Apr 2003, Pearu Peterson wrote:

> >  When I run this example the 
> > arguments are passed to f only in the first two calls, as shown here:
> > 
> > Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
> >  >>> Integrators available: vode
> > Found integrator vode
> > <type 'tuple'> (0.10000000000000001,)        ! 1st call
> > ...
> > 2.0 [-0.1446766  -0.10226142 -0.1446766 ]
> > <type 'tuple'> (0.10000000000000001,)        ! 2nd call
> > ...
> > 4.0 [-0.6351882 -0.5874518 -0.6351882]
> > <type 'tuple'> (<NULL>,)                     ! 3rd call
> > ...
> > 6.0 [-0.93274299 -0.92029838 -0.93274299]
> > <type 'tuple'> (<NULL>,)
> 
> I am also getting this in debian box. It looks like a ref-counting bug in
> f2py callback hooks. I'll look for it.

This bug is fixed in f2py CVS repository.

Pearu




More information about the SciPy-User mailing list