Skip to content

Commit 167e4e1

Browse files
committed
Simplify
1 parent 3a9d7eb commit 167e4e1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lazyarrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ macro mularray_type(MulArray, AbstractArray = :AbstractArray)
857857
)
858858
end
859859

860-
function copy_permuteddims_mul(a::PermutedDimsArray{<:Any, 2, perm}) where {perm}
860+
function copy_permuteddims(a::PermutedDimsArray{<:Any, 2, perm}) where {perm}
861861
perm == (1, 2) && return copy(parent(a))
862862
return copy(transpose(parent(a)))
863863
end
@@ -949,7 +949,7 @@ macro mularray_terminterface(MulArray, AbstractArray = :AbstractArray)
949949
$TensorAlgebra.operation(a::$MulArray) = $TensorAlgebra.operation_mul(a)
950950
$TensorAlgebra.arguments(a::$MulArray) = $TensorAlgebra.arguments_mul(a)
951951
function Base.copy(a::PermutedDimsArray{<:Any, 2, <:Any, <:Any, $MulArray})
952-
return $TensorAlgebra.copy_permuteddims_mul(a)
952+
return $TensorAlgebra.copy_permuteddims(a)
953953
end
954954
end
955955
)

0 commit comments

Comments
 (0)