summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2018-11-02 11:35:07 +0100
committerGitHub <noreply@github.com>2018-11-02 11:35:07 +0100
commit94cee524d65a6110eb6f338e6afbaae519450f9c (patch)
tree6fdae563ce6f4d6b131198535ca3fcb725b15b39
parentbbcb714b9e3278cc997933a6f819bdd3cc80b546 (diff)
parent4c7b61873cf936aa7d7d6d61c7f4f2e6ce113845 (diff)
downloadnumpy-94cee524d65a6110eb6f338e6afbaae519450f9c.tar.gz
Merge pull request #12307 from bbbbbbbbba/patch-1
DOC: correct the default value of `optimize` in `numpy.einsum`
-rw-r--r--numpy/core/einsumfunc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/einsumfunc.py b/numpy/core/einsumfunc.py
index df2bf4a4e..c22f2da42 100644
--- a/numpy/core/einsumfunc.py
+++ b/numpy/core/einsumfunc.py
@@ -1028,7 +1028,7 @@ def einsum(*operands, **kwargs):
Controls if intermediate optimization should occur. No optimization
will occur if False and True will default to the 'greedy' algorithm.
Also accepts an explicit contraction list from the ``np.einsum_path``
- function. See ``np.einsum_path`` for more details. Default is True.
+ function. See ``np.einsum_path`` for more details. Defaults to False.
Returns
-------