Closed
Description
I'm using Julia 1.4 and Elemental.jl 0.5 (which downloaded and built Elemental through deps/build.jl)
julia> using LinearAlgebra, Elemental
julia> A = Elemental.Matrix(Float64)
0×0 Elemental.Matrix{Float64}
julia> Elemental.gaussian!(A, 100, 80);
julia> U, s, V = svd(A);
julia> convert(Matrix{Float64}, s)[1:10]
ERROR: MethodError: no method matching Array{Float64,2}(::Int64, ::Int64)
Closest candidates are:
Array{Float64,2}(::UndefInitializer, ::Int64, ::Int64) where T at boot.jl:407
Array{Float64,2}(::UndefInitializer, ::Int64...) where {T, N} at boot.jl:411
Array{Float64,2}(::UndefInitializer, ::Integer, ::Integer) where T at baseext.jl:13
...
Stacktrace:
[1] convert(::Type{Array{Float64,2}}, ::Elemental.Matrix{Float64}) at /home/viralbshah/.julia/packages/Elemental/ovOAZ/src/julia/generic.jl:114
[2] top-level scope at REPL[19]:1
Metadata
Metadata
Assignees
Labels
No labels