[SciPy-dev] Typo in line 615 of interpolate.py
Nils Wagner
nwagner at iam.uni-stuttgart.de
Wed May 30 16:48:37 EDT 2007
On Wed, 30 May 2007 20:53:01 +0200
"Nils Wagner" <nwagner at iam.uni-stuttgart.de> wrote:
>
> Hi,
>
> Please remove the ":" at the end of line 615.
> File
> "/usr/local/lib64/python2.5/site-packages/scipy/interpolate/interpolate.py",
> line 615
> return _find_user(xk, yk, order, conds, B):
> ^
> SyntaxError: invalid syntax
>
> Nils
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-dev
Hi Travis,
Thank you for your prompt fix (r3060).
You probably know that scipy.test() yields a memory error
related to interpolate.py
======================================================================
ERROR: Make sure that appropriate exceptions are raised
when invalid values
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib64/python2.5/site-packages/scipy/interpolate/tests/test_interpolate.py",
line 44, in test_validation
interp1d(self.x10, self.y10, kind='cubic')
File
"/usr/local/lib64/python2.5/site-packages/scipy/interpolate/interpolate.py",
line 220, in __init__
self._spline = splmake(x,oriented_y,order=order)
File
"/usr/local/lib64/python2.5/site-packages/scipy/interpolate/interpolate.py",
line 681, in splmake
B = _fitpack._bsplmat(order, xk)
MemoryError
Cheers,
Nils
More information about the SciPy-Dev
mailing list