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

scipy-svn@scip... scipy-svn@scip...
Mon Nov 10 09:34:39 CST 2008


Author: cdavid
Date: 2008-11-10 09:34:27 -0600 (Mon, 10 Nov 2008)
New Revision: 5043

Modified:
   trunk/scipy/linalg/decomp.py
Log:
Warn about econ argument for qr.

Modified: trunk/scipy/linalg/decomp.py
===================================================================
--- trunk/scipy/linalg/decomp.py	2008-11-10 14:55:31 UTC (rev 5042)
+++ trunk/scipy/linalg/decomp.py	2008-11-10 15:34:27 UTC (rev 5043)
@@ -1043,6 +1043,9 @@
     ((9, 6), (6, 6))
 
     """
+    warn("""\
+qr econ argument will be removed after scipy 0.7. The economy transform will
+then be available through the mode='economic' argument.""", DeprecationWarning)
     a1 = asarray_chkfinite(a)
     if len(a1.shape) != 2:
         raise ValueError("expected 2D array")



More information about the Scipy-svn mailing list