[SciPy-dev] Problems with test_fitpack.py fitpack2.py

Pearu Peterson pearu at cens.ioc.ee
Thu Nov 20 03:29:44 CST 2003


On Thu, 20 Nov 2003, Nils Wagner wrote:

> Pearu Peterson schrieb:
> > 
> > On Thu, 20 Nov 2003, Nils Wagner wrote:
> > > What is the reason for the following errors ?
> > >
> > >
> > > =====================================================================
> > > ERROR: check_linear_constant
> > > (scipy.interpolate.fitpack.test_fitpack.test_LSQBivariateSpline)
> > > ----------------------------------------------------------------------
> > > Traceback (most recent call last):
> > >   File
> > > "/usr/local/lib/python2.1/site-packages/scipy/interpolate/tests/test_fitpack.py",
> > > line 52, in check_linear_constant
> > >     lut = LSQBivariateSpline(x,y,z,tx,ty,kx=1,ky=1)
> > >   File
> > > "/usr/local/lib/python2.1/site-packages/scipy/interpolate/fitpack2.py",
> > > line 399, in __init__
> > >     kx,ky,eps,lwrk2=1)
> > > error: (len(y)==m) failed for 3rd argument z
> > 
> > What is f2py version? You'll need f2py which supports usercode
> > statement, that is, f2py 2.35.229-1505 or (better) later.
> > 
> > Pearu
> > 
> 
> wagner at lisa:~> f2py -v
> 2.35.229-1505

I just checked, the same error occurs also with the latest f2py
but only with Python <=2.1. I'll see later if I can make a backport
to Python 2.1...

Pearu



More information about the Scipy-dev mailing list