[SciPy-Dev] Errors in 0.8.x

Ralf Gommers ralf.gommers at googlemail.com
Wed Jun 16 07:32:12 EDT 2010


On Wed, Jun 16, 2010 at 10:27 AM, Charles R Harris <
charlesr.harris at gmail.com> wrote:

> Hi All,
>
> I get some error in the tests:
>
>
> ======================================================================
> ERROR: test_decomp.test_lapack_misaligned(<function solve at 0x3851500>,
> (array([[  1.734e-255,   8.189e-217,   4.025e-178,   1.903e-139,
> 9.344e-101,
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
>     self.test(*self.arg)
>   File
> "/usr/local/lib/python2.6/dist-packages/scipy/linalg/tests/test_decomp.py",
> line 1118, in check_lapack_misaligned
>     func(*a,**kwargs)
>   File "/usr/local/lib/python2.6/dist-packages/scipy/linalg/basic.py", line
> 133, in solve
>     a1, b1 = map(asarray_chkfinite,(a,b))
>   File "/usr/local/lib/python2.6/dist-packages/numpy/lib/function_base.py",
> line 528, in asarray_chkfinite
>     "array must not contain infs or NaNs")
> ValueError: array must not contain infs or NaNs
>
> This is marked as a known failure in 0.8.x now. And it's ticket #1152.



> ======================================================================
> ERROR: Ticket #1124.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.6/dist-packages/scipy/signal/tests/test_signaltools.py",
> line 287, in test_none
>     signal.medfilt(None)
>   File
> "/usr/local/lib/python2.6/dist-packages/scipy/signal/signaltools.py", line
> 308, in medfilt
>     return sigtools._order_filterND(volume,domain,order)
> ValueError: order_filterND not available for this type
>

That was fixed in r6250 and works for me:
In [15]: medfilt(None)
Out[15]: array([0], dtype=object)

Should be easy to figure out, can you have a look at it?


>
>
> There are also a lot of compiler warnings like:
>
> gfortran:f77: ./lbfgsb/routines.f
> Warning: Nonconforming tab character in column 1 of line 510
>
> Those warnings are annoying. They're all in Fortran code, mostly from
upstream sources. I asked about them a while ago and the conclusion was they
should be filtered, not fixed.

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100616/c78fed99/attachment.html>


More information about the SciPy-Dev mailing list