summaryrefslogtreecommitdiff
path: root/numpy/linalg/linalg.py
diff options
context:
space:
mode:
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
----------