Skip to content

Commit 64e5be1

Browse files
committed
Avoid specializing transpose/adjoint
1 parent c892f47 commit 64e5be1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/adjtrans.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -555,10 +555,6 @@ end
555555

556556
# Special adjoint/transpose methods for Adjoint/Transpose that have been reshaped as a vector
557557
# these are used in transposing banded matrices by forwarding the operation to the bands
558-
# the permutedims converts a n-element vector to an 1xn matrix
559-
transpose(A::Base.ReshapedArray{<:Any,1,<:TransposeAbsVec}) = permutedims(transpose(parent(A)))
560-
adjoint(A::Base.ReshapedArray{<:Any,1,<:AdjointAbsVec}) = permutedims(adjoint(parent(A)))
561-
562558
# compute vec(transpose(A)), but avoid an allocating reshape if possible
563559
_vectranspose(A::AbstractVector) = vec(transpose(A))
564560
_vectranspose(A::Base.ReshapedArray{<:Any,1,<:TransposeAbsVec}) = transpose(parent(A))

0 commit comments

Comments
 (0)