From 9b4e12e196146f8e73af86cdf38d16a072d968c0 Mon Sep 17 00:00:00 2001 From: Yin Li Date: Thu, 18 Aug 2022 11:32:01 -0400 Subject: Fix linalg.tensorsolve docstring --- numpy/linalg/linalg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') 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 ---------- -- cgit v1.2.1