[SciPy-dev] check_syevr_irange/check_syevr_vrange ?

Arnd Baecker arnd.baecker at web.de
Thu Mar 24 16:26:08 EST 2005


Hi,

to figure out a question related to a recent snapshot for windows
by Joe Cooper I installed on my debian sarge machine
a pretty recent scipy from CVS (see below).
For scipy.test(1) there are 4 errors, all related
to check_syevr_irange/check_syevr_vrange

I am not worried too much about the errors, as the results
seem pretty close.
Still I thought it would be better to report those here.

Best,

Arnd



Python 2.3.5 (#1, Mar 22 2005, 11:11:34)
Type "copyright", "credits" or "license" for more information.

IPython 0.6.13_cvs -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]:import scipy
numerix Numeric 23.8
In [2]:scipy.__version__
Out[2]:'0.3.3_303.4584'
In [3]:scipy.test(1)


======================================================================
FAIL: check_heevr_irange_high
(scipy.lib.lapack.test_lapack.test_flapack_complex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 80, in check_heevr_irange_high
    def check_heevr_irange_high(self):
self.check_syevr_irange(sym='he',irange=[1,2])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 68, in check_syevr_irange
    assert_array_almost_equal(dot(a,v[:,i]),w[i]*v[:,i])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy_test/testing.py",
line 740, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 33.3333333333%):
        Array 1: [ 3.6929266+0.j  4.0951085+0.j  7.3420534+0.j]
        Array 2: [ 3.6929276+0.j  4.0951101+0.j  7.3420528+0.j]


======================================================================
FAIL: check_heevr_vrange
(scipy.lib.lapack.test_lapack.test_flapack_complex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 102, in check_heevr_vrange
    def check_heevr_vrange(self): self.check_syevr_vrange(sym='he')
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 94, in check_syevr_vrange
    assert_array_almost_equal(dot(a,v[:,i]),w[i]*v[:,i])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy_test/testing.py",
line 740, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 33.3333333333%):
        Array 1: [ 3.6929266+0.j  4.0951085+0.j  7.3420534+0.j]
        Array 2: [ 3.6929276+0.j  4.0951101+0.j  7.3420528+0.j]

======================================================================
FAIL: check_syevr_irange_high
(scipy.lib.lapack.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 74, in check_syevr_irange_high
    def check_syevr_irange_high(self):
self.check_syevr_irange(irange=[1,2])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 68, in check_syevr_irange
    assert_array_almost_equal(dot(a,v[:,i]),w[i]*v[:,i])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy_test/testing.py",
line 740, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 33.3333333333%):
        Array 1: [ 3.6929266  4.0951085  7.3420534]
        Array 2: [ 3.6929276  4.0951101  7.3420528]


======================================================================
FAIL: check_syevr_vrange (scipy.lib.lapack.test_lapack.test_flapack_float)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy/lib/lapack/tests/esv_tests.py",
line 94, in check_syevr_vrange
    assert_array_almost_equal(dot(a,v[:,i]),w[i]*v[:,i])
  File
"/home/abaecker/NBB/INSTALL_SOFT/TEST_NUMERIC3/InstDir/lib/python2.3/site-packages/scipy_test/testing.py",
line 740, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 33.3333333333%):
        Array 1: [ 3.6929266  4.0951085  7.3420534]
        Array 2: [ 3.6929276  4.0951101  7.3420528]


If I should send the full output of
  python scipy_core/scipy_distutils/system_info.py
or any further info, just let me know...




More information about the SciPy-Dev mailing list