Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 216aaaa

Browse files
rhettingermiss-islington
authored andcommitted
Fixing wording in comment. (GH-10425)
Since the n==1 case just returns *max*, it cannot be larger than the magnitude of the vector entry.
1 parent 7a69cf4 commit 216aaaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/mathmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,7 @@ Given an *n* length *vec* of values and a value *max*, compute:
20432043
max * sqrt(sum((x / max) ** 2 for x in vec))
20442044
20452045
The value of the *max* variable must be non-negative and
2046-
at least equal to the absolute value of the largest magnitude
2046+
equal to the absolute value of the largest magnitude
20472047
entry in the vector. If n==0, then *max* should be 0.0.
20482048
If an infinity is present in the vec, *max* should be INF.
20492049

0 commit comments

Comments
 (0)