[Scipy-svn] r6254 - trunk/scipy/linalg
scipy-svn at scipy.org
scipy-svn at scipy.org
Tue Mar 9 08:31:00 EST 2010
Author: warren.weckesser
Date: 2010-03-09 07:31:00 -0600 (Tue, 09 Mar 2010)
New Revision: 6254
Modified:
trunk/scipy/linalg/matfuncs.py
Log:
Removed a few lines of dead code (related to the old Numeric savespace() method).
Modified: trunk/scipy/linalg/matfuncs.py
===================================================================
--- trunk/scipy/linalg/matfuncs.py 2010-03-09 13:15:33 UTC (rev 6253)
+++ trunk/scipy/linalg/matfuncs.py 2010-03-09 13:31:00 UTC (rev 6254)
@@ -36,11 +36,6 @@
"""
A = asarray(A)
- ss = True
- if A.dtype.char in ['f', 'F']:
- pass ## A.savespace(1)
- else:
- pass ## A.savespace(0)
# Scale A so that norm is < 1/2
nA = norm(A,Inf)
@@ -69,7 +64,6 @@
F = solve(D,N)
for k in range(1,j+1):
F = dot(F,F)
- pass ## A.savespace(ss)
return F
def expm2(A):
More information about the Scipy-svn
mailing list