Skip to content

Commit 49623e0

Browse files
authored
Remove specialized Base.reim method (#631)
The generic fallback works (and does exactly the same), so this isn’t needed
1 parent 5fcb418 commit 49623e0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/complex.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ Base.widen(::Type{Quantity{T,D,U}}) where {T,D,U} =
2121
# skip Base.float, Base.real, Base.imag because it is already
2222
# implemented
2323

24-
Base.reim(z::Quantity{T,D,U}) where {T<:Complex,D,U} =
25-
(real(z), imag(z))
26-
2724
# Base.real for types has a general implementation in julia; a faster
2825
# method could be provided but is not strictly required.
2926

0 commit comments

Comments
 (0)