[SciPy-dev] test_lstsq failure

Arnd Baecker arnd.baecker at web.de
Thu Jun 8 03:39:09 CDT 2006


Hi,

on a 64 Bit opteron I get with current svn:

======================================================================
FAIL: check_random_complex_overdet
(scipy.linalg.tests.test_basic.test_lstsq)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/scipy/linalg/tests/test_basic.py",
line 413, in check_random_complex_overdet
    assert_array_almost_equal(x,direct_lstsq(a,b),3)
  File
"/home/abaecker/BUILDS3/BuildDir/inst_numpy/lib/python2.4/site-packages/numpy/testing/utils.py",
line 233, in assert_array_almost_equal
    assert cond,\
AssertionError:
Arrays are not almost equal (mismatch 77.7777777778%):
        Array 1: [[-0.0137+0.0173j  0.0037-0.0173j -0.0114+0.0119j]
 [ 0.0029-0.0356j  0.0086-0.034j   0.033 -0.0879j]
 [ 0.0041-0.0097j ...
        Array 2: [[-0.016 +0.0162j  0.003 -0.0171j -0.0148+0.009j ]
 [-0.0017-0.0405j  0.003 -0.036j   0.0256-0.0977j]
 [ 0.0038-0.0112j ...

Best, Arnd




More information about the Scipy-dev mailing list