summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Klöckner <inform@tiker.net>2019-12-05 17:24:33 -0600
committerSebastian Berg <sebastian@sipsolutions.net>2019-12-05 17:24:33 -0600
commit0aeab48b9e914d1dc7041b7e3f3b7e575ffcbbed (patch)
tree30056880e190fd8001d08cf7e51d0c15b7546622
parent1783e6fc437f34af1d652cbae36a68abcbf41fbc (diff)
downloadnumpy-0aeab48b9e914d1dc7041b7e3f3b7e575ffcbbed.tar.gz
DOC: Fix statement about norms (#15050)
The "0.5-norm" violates the triangle inequality because its unit ball is nonconvex.
-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 f1b2c2228..6249a57c2 100644
--- a/numpy/linalg/linalg.py
+++ b/numpy/linalg/linalg.py
@@ -2355,7 +2355,7 @@ def norm(x, ord=None, axis=None, keepdims=False):
Notes
-----
- For values of ``ord <= 0``, the result is, strictly speaking, not a
+ For values of ``ord < 1``, the result is, strictly speaking, not a
mathematical 'norm', but it may still be useful for various numerical
purposes.