diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-11-07 23:25:28 -0800 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-11-08 23:49:15 -0800 |
commit | 6f83089e9a308bea4fd5346cbfe9c55c1590a23c (patch) | |
tree | c90a0ad885148e0944e8522a556e86c0acad819c /numpy/linalg/linalg.py | |
parent | a311a8d45feaafa8a8ccc15d8e66fec94b7a002d (diff) | |
download | numpy-6f83089e9a308bea4fd5346cbfe9c55c1590a23c.tar.gz |
DOC: Fix incorrect shape in documentation
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r-- | numpy/linalg/linalg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py index 1f7f5f00a..8357c92e6 100644 --- a/numpy/linalg/linalg.py +++ b/numpy/linalg/linalg.py @@ -1915,7 +1915,7 @@ def lstsq(a, b, rcond="warn"): x : {(N,), (N, K)} ndarray Least-squares solution. If `b` is two-dimensional, the solutions are in the `K` columns of `x`. - residuals : {(), (1,), (K,)} ndarray + residuals : {(1,), (K,), (0,)} ndarray Sums of residuals; squared Euclidean 2-norm for each column in ``b - a*x``. If the rank of `a` is < N or M <= N, this is an empty array. |