summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2017-08-19 15:48:34 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2017-08-19 16:35:08 +0200
commitbd3a2c580e2d5f0a7a958b3e7d942c230648f2e3 (patch)
treed8d6f04c7b1e845437b84b3799596dac0c0c5a3c /doc
parent3c887aa5242857ef92870d2988de7c899c6415be (diff)
downloadnumpy-bd3a2c580e2d5f0a7a958b3e7d942c230648f2e3.tar.gz
ENH: Warn to change lstsq default for rcond
The default parameter used by LAPACK (which was our default) is not very good, so implement a FutureWarning to change to a better default.
Diffstat (limited to 'doc')
-rw-r--r--doc/release/1.14.0-notes.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/release/1.14.0-notes.rst b/doc/release/1.14.0-notes.rst
index b5d133081..45227ae2b 100644
--- a/doc/release/1.14.0-notes.rst
+++ b/doc/release/1.14.0-notes.rst
@@ -36,6 +36,12 @@ This translation now gives a warning explaining what translation is occuring.
In future, the translation will be disabled, and the first example will be made
equivalent to the second.
+``np.linalg.lstsq`` default for ``rcond`` will be changed
+---------------------------------------------------------
+
+The ``rcond`` parameter to ``np.linalg.lstsq`` will change its default to the
+better value of machine precision times the maximum of the input matrix
+dimensions. A FutureWarning is given if the parameter is not passed explicitly.
Build System Changes
====================