Skip to content

Commit e8601e8

Browse files
committed
Merge pull request #16092 from giordano/master
Fix docstring of hypot
2 parents 811fe45 + a2e852e commit e8601e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

base/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ end
184184
"""
185185
hypot(x...)
186186
187-
Compute the hypotenuse ``\\sqrt{\\sum x_i}`` avoiding overflow and underflow.
187+
Compute the hypotenuse ``\\sqrt{\\sum x_i^2}`` avoiding overflow and underflow.
188188
"""
189189
hypot(x::Number...) = vecnorm(x)
190190

doc/stdlib/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ Mathematical Functions
890890

891891
.. Docstring generated from Julia source
892892
893-
Compute the hypotenuse :math:`\sqrt{\sum x_i}` avoiding overflow and underflow.
893+
Compute the hypotenuse :math:`\sqrt{\sum x_i^2}` avoiding overflow and underflow.
894894

895895
.. function:: log(x)
896896

0 commit comments

Comments
 (0)