[Scipy-svn] r6253 - trunk/scipy/linalg

scipy-svn@scip... scipy-svn@scip...
Tue Mar 9 07:15:34 CST 2010


Author: warren.weckesser
Date: 2010-03-09 07:15:33 -0600 (Tue, 09 Mar 2010)
New Revision: 6253

Modified:
   trunk/scipy/linalg/basic.py
Log:
Removed commented-out code.

Modified: trunk/scipy/linalg/basic.py
===================================================================
--- trunk/scipy/linalg/basic.py	2010-03-09 04:17:17 UTC (rev 6252)
+++ trunk/scipy/linalg/basic.py	2010-03-09 13:15:33 UTC (rev 6253)
@@ -662,10 +662,8 @@
            [10, 11, 12]])
 
     """
-    ## svsp = getattr(m,'spacesaver',lambda:0)()
     m = asarray(m)
     out = tri(m.shape[0], m.shape[1], k=k, dtype=m.dtype.char)*m
-    pass  ## pass  ## out.savespace(svsp)
     return out
 
 def triu(m, k=0):
@@ -693,10 +691,8 @@
            [ 0,  0, 12]])
 
     """
-    ## svsp = getattr(m,'spacesaver',lambda:0)()
     m = asarray(m)
     out = (1-tri(m.shape[0], m.shape[1], k-1, m.dtype.char))*m
-    pass  ## pass  ## out.savespace(svsp)
     return out
 
 def toeplitz(c,r=None):



More information about the Scipy-svn mailing list