[Numpy-tickets] [NumPy] #480: Recent changes in defmatrix.py
NumPy
numpy-tickets@scipy....
Mon Mar 26 13:58:03 CDT 2007
#480: Recent changes in defmatrix.py
------------------------+---------------------------------------------------
Reporter: nils | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2 Release
Component: numpy.core | Version: devel
Severity: major | Keywords:
------------------------+---------------------------------------------------
scipy.test(1)
{{{
======================================================================
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)
----------------------------------------------------------------------
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_dok)
----------------------------------------------------------------------
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: Does the matrix's mean(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib64/python2.5/site-
packages/scipy/sparse/tests/test_sparse.py", line 54, in check_mean
assert_array_equal(self.dat.mean(axis=0), self.datsp.mean(axis=0))
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 423, in mean
mean = self.sum(0)
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 402, in sum
return o * self
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_dok)
----------------------------------------------------------------------
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: Does the matrix's sum(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib64/python2.5/site-
packages/scipy/sparse/tests/test_sparse.py", line 46, in check_sum
assert_array_equal(self.dat.sum(axis=0), self.datsp.sum(axis=0))
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 402, in sum
return o * self
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_lil)
----------------------------------------------------------------------
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: Does the matrix's mean(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib64/python2.5/site-
packages/scipy/sparse/tests/test_sparse.py", line 54, in check_mean
assert_array_equal(self.dat.mean(axis=0), self.datsp.mean(axis=0))
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 423, in mean
mean = self.sum(0)
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 402, in sum
return o * self
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_lil)
----------------------------------------------------------------------
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: Does the matrix's sum(,axis=0) method work?
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib64/python2.5/site-
packages/scipy/sparse/tests/test_sparse.py", line 46, in check_sum
assert_array_equal(self.dat.sum(axis=0), self.datsp.sum(axis=0))
File "/usr/local/lib64/python2.5/site-packages/scipy/sparse/sparse.py",
line 402, in sum
return o * self
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
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/480>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list