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

Pearu Peterson pearu at scipy.org
Thu Nov 20 03:39:54 EST 2003



On Thu, 20 Nov 2003, Nils Wagner wrote:

> Dear experts,
> 
> 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



More information about the SciPy-Dev mailing list