]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixing wording in comment. (GH-10425)
authorRaymond Hettinger <rhettinger@users.noreply.github.com>
Fri, 9 Nov 2018 09:06:02 +0000 (01:06 -0800)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 9 Nov 2018 09:06:02 +0000 (01:06 -0800)
Since the n==1 case just returns *max*, it cannot be larger
than the magnitude of the vector entry.

Modules/mathmodule.c

index e956314e27fca384ac34b9c0e18a229a16f32887..b83befbd3194c35bff5f95876986fd46a1515ae8 100644 (file)
@@ -2043,7 +2043,7 @@ Given an *n* length *vec* of values and a value *max*, compute:
     max * sqrt(sum((x / max) ** 2 for x in vec))
 
 The value of the *max* variable must be non-negative and
-at least equal to the absolute value of the largest magnitude
+equal to the absolute value of the largest magnitude
 entry in the vector.  If n==0, then *max* should be 0.0.
 If an infinity is present in the vec, *max* should be INF.