File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -162,12 +162,16 @@ _FType(::Type{Int32}) = Float32
162162_FType (:: Type{Int64} ) = Float64
163163_FType (:: Type{Float32} ) = Float32
164164_FType (:: Type{Float64} ) = Float64
165- _FType (:: Type{ComplexF32} ) = Float32
166- _FType (:: Type{ComplexF64} ) = Float64
165+ _FType (:: Type{Complex{Int32}} ) = Float32
166+ _FType (:: Type{Complex{Int64}} ) = Float64
167+ _FType (:: Type{Complex{Float32}} ) = Float32
168+ _FType (:: Type{Complex{Float64}} ) = Float64
167169_CType (:: AbstractArray{T} ) where {T<: Number } = _CType (T)
168170_CType (:: Type{Int32} ) = ComplexF32
169171_CType (:: Type{Int64} ) = ComplexF64
170172_CType (:: Type{Float32} ) = ComplexF32
171173_CType (:: Type{Float64} ) = ComplexF64
172- _CType (:: Type{ComplexF32} ) = ComplexF32
173- _CType (:: Type{ComplexF64} ) = ComplexF64
174+ _CType (:: Type{Complex{Int32}} ) = ComplexF32
175+ _CType (:: Type{Complex{Int64}} ) = ComplexF64
176+ _CType (:: Type{Complex{Float32}} ) = ComplexF32
177+ _CType (:: Type{Complex{Float64}} ) = ComplexF64
You can’t perform that action at this time.
0 commit comments