Skip to content

Commit

Permalink
unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff authored Apr 8, 2023
1 parent cccd466 commit 9ac1ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function angle(x::ArbComplex{P}) where {P}
return z
end

magnitude(x::T) where {T<:Complex} where {P} = hypot(reim(x)...)
magnitude(x::T) where {T<:Complex} = hypot(reim(x)...)

magnitude(x::ArbFloat{P}) where {P} = x
magnitude(x::ArbReal{P}) where {P} = x
Expand Down

0 comments on commit 9ac1ff4

Please sign in to comment.