[Scipy-svn] r3047 - trunk/Lib/sparse
scipy-svn at scipy.org
scipy-svn at scipy.org
Sat May 26 23:15:04 EDT 2007
Author: wnbell
Date: 2007-05-26 22:15:00 -0500 (Sat, 26 May 2007)
New Revision: 3047
Modified:
trunk/Lib/sparse/sparse.py
Log:
fixed small bug in rmatvec
resolves ticket #359
Modified: trunk/Lib/sparse/sparse.py
===================================================================
--- trunk/Lib/sparse/sparse.py 2007-05-27 03:00:14 UTC (rev 3046)
+++ trunk/Lib/sparse/sparse.py 2007-05-27 03:15:00 UTC (rev 3047)
@@ -951,7 +951,7 @@
return _cs_matrix._matvec(self, other, cscmux)
def rmatvec(self, other, conjugate=True):
- return _cs_matrix._rmatvec(self, other, shape[1], shape[0], cscmux, conjugate=conjugate)
+ return _cs_matrix._rmatvec(self, other, self.shape[1], self.shape[0], cscmux, conjugate=conjugate)
def matmat(self, other):
return _cs_matrix._matmat(self, other, cscmucsc)
@@ -1301,7 +1301,7 @@
return _cs_matrix._matvec(self, other, csrmux)
def rmatvec(self, other, conjugate=True):
- return _cs_matrix._rmatvec(self, other, shape[0], shape[1], csrmux, conjugate=conjugate)
+ return _cs_matrix._rmatvec(self, other, self.shape[0], self.shape[1], csrmux, conjugate=conjugate)
def matmat(self, other):
return _cs_matrix._matmat(self, other, csrmucsr)
More information about the Scipy-svn
mailing list