Skip to content
Browse files

Warn about econ argument for qr.

  • Loading branch information...
1 parent 524052d commit fe87b4ab3b196b78db3b738ac3dd083239da2e25 @cournape cournape committed Nov 10, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 scipy/linalg/decomp.py
View
3 scipy/linalg/decomp.py
@@ -1043,6 +1043,9 @@ def qr(a,overwrite_a=0,lwork=None,econ=False,mode='qr'):
((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")

0 comments on commit fe87b4a

Please sign in to comment.
Something went wrong with that request. Please try again.