summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
diff options
context:
space:
mode:
authorYin Li <eelregit@users.noreply.github.com>2022-08-18 11:32:01 -0400
committerGitHub <noreply@github.com>2022-08-18 11:32:01 -0400
commit9b4e12e196146f8e73af86cdf38d16a072d968c0 (patch)
tree6bf7182a0b3371f68323ce01a60d9692e364765a /numpy/linalg/linalg.py
parent34abd9b7cbdcda9a5d57a46640fe93d8020742ca (diff)
downloadnumpy-9b4e12e196146f8e73af86cdf38d16a072d968c0.tar.gz
Fix linalg.tensorsolve docstring
Diffstat (limited to 'numpy/linalg/linalg.py')
-rw-r--r--numpy/linalg/linalg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index 6d7dda2b6..48904b560 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -243,7 +243,7 @@ def tensorsolve(a, b, axes=None):
It is assumed that all indices of `x` are summed over in the product,
together with the rightmost indices of `a`, as is done in, for example,
- ``tensordot(a, x, axes=b.ndim)``.
+ ``tensordot(a, x, axes=x.ndim)``.
Parameters
----------