File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,7 @@ _complex_float_type(T::Type{<:Complex}) = T # Allow other untracked Complex type
198198
199199_convert_eltype_wordsize (:: Type{T} , :: Val{64} ) where {T<: Int } = Int64
200200_convert_eltype_wordsize (:: Type{T} , :: Val{32} ) where {T<: Int } = Int32
201- _convert_eltype_wordsize (:: Type{T} , :: Val{64} ) where {T<: Number } = Float64
202- _convert_eltype_wordsize (:: Type{T} , :: Val{32} ) where {T<: Number } = Float32
203- _convert_eltype_wordsize (:: Type{Complex{T}} , :: Val{64} ) where {T<: Union{Int,Number } } = ComplexF64
204- _convert_eltype_wordsize (:: Type{Complex{T}} , :: Val{32} ) where {T<: Union{Int,Number } } = ComplexF32
201+ _convert_eltype_wordsize (:: Type{T} , :: Val{64} ) where {T<: AbstractFloat } = Float64
202+ _convert_eltype_wordsize (:: Type{T} , :: Val{32} ) where {T<: AbstractFloat } = Float32
203+ _convert_eltype_wordsize (:: Type{Complex{T}} , :: Val{64} ) where {T<: Union{Int,AbstractFloat } } = ComplexF64
204+ _convert_eltype_wordsize (:: Type{Complex{T}} , :: Val{32} ) where {T<: Union{Int,AbstractFloat } } = ComplexF32
You can’t perform that action at this time.
0 commit comments