summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/linalg/linalg.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/linalg/linalg.py b/numpy/linalg/linalg.py
index a7f1c074d..157e5d3d2 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -299,8 +299,8 @@ def solve(a, b):
Check that the solution is correct:
- >>> (np.dot(a, x) == b).all()
- True
+ >>> (np.dot(a, x) - b).sum()
+ 0.0
"""
a, _ = _makearray(a)