Skip to content

Commit

Permalink
Warn about econ argument for qr.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Nov 10, 2008
1 parent 524052d commit fe87b4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scipy/linalg/decomp.py
Expand Up @@ -1043,6 +1043,9 @@ def qr(a,overwrite_a=0,lwork=None,econ=False,mode='qr'):
((9, 6), (6, 6)) ((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) a1 = asarray_chkfinite(a)
if len(a1.shape) != 2: if len(a1.shape) != 2:
raise ValueError("expected 2D array") raise ValueError("expected 2D array")
Expand Down

0 comments on commit fe87b4a

Please sign in to comment.