Skip to content

Commit be80eed

Browse files
committed
bugfix missing variable
1 parent 746b3f2 commit be80eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/indexmanipulations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ the permutation `(p₁..., reverse(p₂)...)` should constitute a cyclic permuta
176176
See [`transpose`](@ref) for creating a new tensor and [`add_transpose!`](@ref) for a more general version.
177177
"""
178178
function LinearAlgebra.transpose!(
179-
tdst::AbstractTensorMap, tsrc::AbstractTensorMap, (p₁, p₂)::Index2Tuple = _transpose_indices(t)
179+
tdst::AbstractTensorMap, tsrc::AbstractTensorMap, (p₁, p₂)::Index2Tuple = _transpose_indices(tsrc)
180180
)
181181
return add_transpose!(tdst, tsrc, (p₁, p₂), One(), Zero())
182182
end

0 commit comments

Comments
 (0)