[SciPy-dev] 12 errors using 0.7.3.1538 0.4.2_1461

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Nov 29 02:37:43 EST 2005


======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
148, in check_add_dense
    sum1 = self.dat + self.datsp
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 502, in __r
add__
    raise NotImplementedError, 'adding a scalar to a CSC matrix is ' \
NotImplementedError: adding a scalar to a CSC matrix is not yet supported

======================================================================
ERROR: check_matmat (scipy.sparse.sparse.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
148, in check_add_dense
    sum1 = self.dat + self.datsp
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 173, in __r
add__
    return csc.__radd__(other)
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 502, in __r
add__
    raise NotImplementedError, 'adding a scalar to a CSC matrix is ' \
NotImplementedError: adding a scalar to a CSC matrix is not yet supported

======================================================================
ERROR: check_matmat (scipy.sparse.sparse.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
149, in check_add_dense
    assert_array_equal(sum1, 2*self.dat)
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 724, in asse
rt_array_equal
    reduced = ravel(equal(x,y))
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 146, in __c
mp__
    raise TypeError, "comparison of sparse matrices not implemented"
TypeError: comparison of sparse matrices not implemented

======================================================================
ERROR: check_matmat (scipy.sparse.sparse.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
148, in check_add_dense
    sum1 = self.dat + self.datsp
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 502, in __r
add__
    raise NotImplementedError, 'adding a scalar to a CSC matrix is ' \
NotImplementedError: adding a scalar to a CSC matrix is not yet supported

======================================================================
ERROR: check_matmat (scipy.sparse.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
148, in check_add_dense
    sum1 = self.dat + self.datsp
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 173, in __r
add__
    return csc.__radd__(other)
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 502, in __r
add__
    raise NotImplementedError, 'adding a scalar to a CSC matrix is ' \
NotImplementedError: adding a scalar to a CSC matrix is not yet supported

======================================================================
ERROR: check_matmat (scipy.sparse.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line
84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

======================================================================
ERROR: Check whether adding a dense matrix to a sparse matrix works
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line                                149, in check_add_dense
    assert_array_equal(sum1, 2*self.dat)
  File "/usr/local/lib/python2.4/site-packages/scipy/test/testing.py",
line 724, in asse                               rt_array_equal
    reduced = ravel(equal(x,y))
  File "/usr/local/lib/python2.4/site-packages/scipy/sparse/sparse.py",
line 146, in __c                               mp__
    raise TypeError, "comparison of sparse matrices not implemented"
TypeError: comparison of sparse matrices not implemented

======================================================================
ERROR: check_matmat (scipy.sparse.test_sparse.test_dok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/local/lib/python2.4/site-packages/scipy/sparse/tests/test_sparse.py",
line                                84, in check_matmat
    assert_array_almost_equal((a*bsp).todense(), dot(a,b))
AttributeError: 'scipy.ndarray' object has no attribute 'todense'

----------------------------------------------------------------------
Ran 1355 tests in 6.372s

FAILED (errors=12)

 





More information about the SciPy-Dev mailing list