Skip to content

Commit 55b1f3c

Browse files
authored
remove extraneous function included in #21858 (#59109)
Removes an apparently extraneous function accidentally included in #21858, as noted in https://github.com/JuliaLang/julia/pull/21858/files#r2233250284.
1 parent cf9b7a8 commit 55b1f3c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

base/complex.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1142,10 +1142,6 @@ function complex(A::AbstractArray{T}) where T
11421142
convert(AbstractArray{typeof(complex(zero(T)))}, A)
11431143
end
11441144

1145-
## Promotion to complex ##
1146-
1147-
_default_type(T::Type{Complex}) = Complex{Int}
1148-
11491145
## Machine epsilon for complex ##
11501146

11511147
eps(z::Complex{<:AbstractFloat}) = hypot(eps(real(z)), eps(imag(z)))

0 commit comments

Comments
 (0)