Skip to content

Commit

Permalink
Fixed hypot length bug (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
moadmmh authored May 28, 2021
1 parent ecbc23b commit e577f2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/src/builtins/math/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl BuiltIn for Math {
.function(Self::expm1, "expm1", 1)
.function(Self::floor, "floor", 1)
.function(Self::fround, "fround", 1)
.function(Self::hypot, "hypot", 1)
.function(Self::hypot, "hypot", 2)
.function(Self::imul, "imul", 1)
.function(Self::log, "log", 1)
.function(Self::log1p, "log1p", 1)
Expand Down

0 comments on commit e577f2a

Please sign in to comment.