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
n =NamedArray(1:4)
a =adjoint(n)
aa =adjoint(a)
ERROR: MethodError: no method matching NamedArray(::UnitRange{Int64}, ::Tuple{OrderedCollections.OrderedDict{String,Int64},OrderedCollections.OrderedDict{String,Int64}}, ::Tuple{Symbol,String})
Closest candidates are:NamedArray(::AbstractArray{T,1}, ::AbstractArray{VT,1}, ::Any) where {T, VT} at /Users/dietercastel/.julia/dev/NamedArrays/src/constructors.jl:73NamedArray(::AbstractArray{T,1}) where T at /Users/dietercastel/.julia/dev/NamedArrays/src/constructors.jl:73NamedArray(::AbstractArray{T,1}, ::AbstractArray{VT,1}) where {T, VT} at /Users/dietercastel/.julia/dev/NamedArrays/src/constructors.jl:73...
Stacktrace:
[1] adjoint(::NamedArray{Int64,2,LinearAlgebra.Adjoint{Int64,UnitRange{Int64}},Tuple{OrderedCollections.OrderedDict{String,Int64},OrderedCollections.OrderedDict{String,Int64}}}) at /Users/dietercastel/.julia/dev/NamedArrays/src/rearrange.jl:15
[2] top-level scope at REPL[135]:1
[3] eval(::Module, ::Any) at ./boot.jl:331
[4] eval_user_input(::Any, ::REPL.REPLBackend) at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.4/REPL/src/REPL.jl:86
[5] run_backend(::REPL.REPLBackend) at /Users/dietercastel/.julia/packages/Revise/AMRie/src/Revise.jl:1023
[6] top-level scope at REPL[2]:0
However transpose(a) works fine as does the case for a complex valued vector.
The text was updated successfully, but these errors were encountered:
Applying adjoint twice fails for a Real vector.
However
transpose(a)
works fine as does the case for a complex valued vector.The text was updated successfully, but these errors were encountered: