AxisKeys.jl icon indicating copy to clipboard operation
AxisKeys.jl copied to clipboard

SVD on a KeyedArray is forgetting that it was a KeyedArray

Open AlexRobson opened this issue 4 years ago • 1 comments

R = rand(10,10)
A = KeyedArray(R, iter=1:10, iter2=1:10)
svd(A).U isa NamedDimsArray

Possibly related: https://github.com/mcabbott/AxisKeys.jl/issues/31

AlexRobson avatar Oct 08 '21 16:10 AlexRobson

Yes to #31. For now this is explicitly defined to just fall through:

https://github.com/mcabbott/AxisKeys.jl/blob/f822f269b0dd4271521b8518561fc8507f6d9e06/src/functions.jl#L386-L391

mcabbott avatar Oct 08 '21 17:10 mcabbott