Skip to content

Commit 4d28314

Browse files
authored
fix missing variable
1 parent d4373b9 commit 4d28314

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tensors/tensoroperations.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function TK.trace_permute!(
192192
)
193193
# some input checks
194194
_check_spacetype(spacetype(tdst), spacetype(tsrc))
195-
if !(BraidingStyle(sectortype(S)) isa SymmetricBraiding)
195+
if !(BraidingStyle(sectortype(tdst)) isa SymmetricBraiding)
196196
throw(
197197
SectorMismatch(
198198
"only tensors with symmetric braiding rules can be contracted; try `@planar` instead",

0 commit comments

Comments
 (0)