Skip to content

Commit a69385d

Browse files
kshyattJutho
andcommitted
Update src/tensors/braidingtensor.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent bd9d394 commit a69385d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/tensors/braidingtensor.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ function braidingtensortype(V1::IndexSpace, V2::IndexSpace, ::Type{TorA}) where
6969
return braidingtensortype(S..., TorA)
7070
end
7171
function braidingtensortype(V::HomSpace, ::Type{TorA}) where {TorA}
72-
domain(V) == reverse(codomain(V)) ||
73-
throw(SpaceMismatch("Cannot define a braiding on $V"))
7472
return braidingtensortype(spacetype(V), TorA)
7573
end
7674

0 commit comments

Comments
 (0)