You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>using OffsetArrays, LinearAlgebra
julia>convert(OffsetArray{ComplexF64,2, Diagonal{ComplexF64,Vector{ComplexF64}}}, OffsetArray(zeros(ComplexF64,3,3), 0,0))
ERROR: MethodError: Cannot `convert` an object of type
OffsetArray{Complex{Float64{}},2,Matrix{ComplexF64}} to an object of type
OffsetArray{Complex{Float64{}},2,Diagonal{ComplexF64, Vector{ComplexF64}}}
Closest candidates are:convert(::Type{T}, ::Factorization) where T<:AbstractArray at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/LinearAlgebra/src/factorization.jl:58convert(::Type{T}, ::T) where T<:AbstractArray at abstractarray.jl:16convert(::Type{T}, ::T) where T at essentials.jl:228...
Stacktrace:
[1] top-level scope
@ REPL[16]:1
julia>VERSIONv"1.7.0-DEV.1025"
The eltype in the error message is displayed as Complex{Float64{}} instead of Complex{Float64}. This only happens for some combinations of types.
The text was updated successfully, but these errors were encountered:
The eltype in the error message is displayed as
Complex{Float64{}}
instead ofComplex{Float64}
. This only happens for some combinations of types.The text was updated successfully, but these errors were encountered: