[Numpy-discussion] defmatrix.py
Nils Wagner
nwagner at iam.uni-stuttgart.de
Sun Mar 25 03:41:44 EDT 2007
Hi,
Several tests didn't pass due to the recent changes
in defmatrix.py.
Nils
======================================================================
ERROR: check_matmat
(scipy.sparse.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/tests/test_sparse.py",
line 142, in check_matmat
assert_array_almost_equal((a*bsp).todense(), a*b)
File
"/usr/local/lib64/python2.5/site-packages/numpy/core/defmatrix.py",
line 162, in __mul__
return N.dot(self, other)
ValueError: objects are not aligned
======================================================================
ERROR: check_rmatvec
(scipy.sparse.tests.test_sparse.test_csc)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/tests/test_sparse.py",
line 107, in check_rmatvec
assert_array_almost_equal(row*M, row*M.todense())
File
"/usr/local/lib64/python2.5/site-packages/numpy/core/defmatrix.py",
line 162, in __mul__
return N.dot(self, other)
ValueError: objects are not aligned
======================================================================
ERROR: check_matmat
(scipy.sparse.tests.test_sparse.test_csr)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib64/python2.5/site-packages/scipy/sparse/tests/test_sparse.py",
line 142, in check_matmat
assert_array_almost_equal((a*bsp).todense(), a*b)
File
"/usr/local/lib64/python2.5/site-packages/numpy/core/defmatrix.py",
line 162, in __mul__
return N.dot(self, other)
ValueError: objects are not aligned
======================================================================
ERROR: check_rmatvec
(scipy.sparse.tests.test_sparse.test_csr)
...
More information about the NumPy-Discussion
mailing list