Skip to content

Commit ebb8f65

Browse files
committed
remove assert in otimes
1 parent e5d99a5 commit ebb8f65

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/bimodulesector.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ TensorKitSectors.BraidingStyle(::Type{<:BimoduleSector}) = NoBraiding()
6666
TensorKitSectors.sectorscalartype(::Type{A4Object}) = ComplexF64
6767

6868
function TensorKitSectors.:(a::I, b::I) where {I <: BimoduleSector}
69-
@assert a.j == b.i
69+
# @assert a.j == b.i
70+
a.j == b.i || return I[]
7071
Ncache = _get_Ncache(I)[a.i, a.j, b.j]
7172
return I[
7273
I(a.i, b.j, c_l) for (a_l, b_l, c_l) in keys(Ncache)

0 commit comments

Comments
 (0)