We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent add6826 commit 3a9d7ebCopy full SHA for 3a9d7eb
1 file changed
src/lazyarrays.jl
@@ -859,8 +859,7 @@ end
859
860
function copy_permuteddims_mul(a::PermutedDimsArray{<:Any, 2, perm}) where {perm}
861
perm == (1, 2) && return copy(parent(a))
862
- perm == (2, 1) && return copy(transpose(parent(a)))
863
- throw(ArgumentError("Unsupported permutation $perm"))
+ return copy(transpose(parent(a)))
864
end
865
866
macro mularray_base(MulArray, AbstractArray = :AbstractArray)
0 commit comments