[Scipy-svn] r7072 - trunk/scipy/maxentropy
scipy-svn at scipy.org
scipy-svn at scipy.org
Sun Jan 23 02:08:15 EST 2011
Author: rgommers
Date: 2011-01-23 01:08:14 -0600 (Sun, 23 Jan 2011)
New Revision: 7072
Modified:
trunk/scipy/maxentropy/maxentutils.py
Log:
BUG: Fix a call in maxentropy to removed sparse method.
Modified: trunk/scipy/maxentropy/maxentutils.py
===================================================================
--- trunk/scipy/maxentropy/maxentutils.py 2011-01-22 22:07:40 UTC (rev 7071)
+++ trunk/scipy/maxentropy/maxentutils.py 2011-01-23 07:08:14 UTC (rev 7072)
@@ -378,7 +378,7 @@
"a vector (rank-1 dense array) if A is sparse.")
return innerprod
elif sparse.isspmatrix(A):
- return A.rmatvec(v).transpose()
+ return (A.conj().transpose() * v).transpose()
else:
# Assume A is dense
if isinstance(v, numpy.ndarray):
More information about the Scipy-svn
mailing list