# [Scipy-svn] r6252 - trunk/scipy/linalg

scipy-svn@scip... scipy-svn@scip...
Mon Mar 8 22:17:17 CST 2010

Author: warren.weckesser
Date: 2010-03-08 22:17:17 -0600 (Mon, 08 Mar 2010)
New Revision: 6252

Modified:
trunk/scipy/linalg/basic.py
Log:
Remove unused imports, and comment out a couple unused lines.

Modified: trunk/scipy/linalg/basic.py
===================================================================
--- trunk/scipy/linalg/basic.py	2010-03-02 19:14:21 UTC (rev 6251)
+++ trunk/scipy/linalg/basic.py	2010-03-09 04:17:17 UTC (rev 6252)
@@ -16,7 +16,7 @@
from flinalg import get_flinalg_funcs
from lapack import get_lapack_funcs
from numpy import asarray,zeros,sum,newaxis,greater_equal,subtract,arange,\
+     conjugate,ravel,r_,mgrid,take,ones,dot,transpose
import numpy
from numpy import asarray_chkfinite, outer, concatenate, reshape, single
from numpy import matrix as Matrix
@@ -662,7 +662,7 @@
[10, 11, 12]])

"""
-    svsp = getattr(m,'spacesaver',lambda:0)()
+    ## 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)
@@ -693,7 +693,7 @@
[ 0,  0, 12]])

"""
-    svsp = getattr(m,'spacesaver',lambda:0)()
+    ## 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)