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> A =rand(5,5)
5×5 Array{Float64,2}:0.3020060.8550530.6618540.7561740.1632080.9540730.9199370.4994190.7668590.696920.6510320.185930.0710930.1448070.1001260.07236920.7100810.04668320.8641550.1016410.7640910.1344070.6361730.1217910.211467
julia>AbstractArray{Float64}(A)
5×5 Array{Float64,2}:0.3020060.8550530.6618540.7561740.1632080.9540730.9199370.4994190.7668590.696920.6510320.185930.0710930.1448070.1001260.07236920.7100810.04668320.8641550.1016410.7640910.1344070.6361730.1217910.211467
julia>AbstractArray(A)
ERROR: MethodError: no method matching AbstractArray(::Array{Float64,2})
Closest candidates are:AbstractArray(::Any) where T<:AbstractArray at abstractarray.jl:21AbstractArray(::Union{QR, LinearAlgebra.QRCompactWY}) at /Users/solver/Projects/julia7/usr/share/julia/site/v0.7/LinearAlgebra/src/qr.jl:414AbstractArray(::QRPivoted) at /Users/solver/Projects/julia7/usr/share/julia/site/v0.7/LinearAlgebra/src/qr.jl:421...
Stacktrace:
[1] AbstractArray(::Array{Float64,2}) at ./abstractarray.jl:21
[2] top-level scope
The text was updated successfully, but these errors were encountered:
Sounds like a good idea in the perspective of supporting Vector(x) and AbstractVector(x) as alternatives/replacements to collect, see #16029 (comment).
The following seems inconsistent to me:
The text was updated successfully, but these errors were encountered: