Skip to content

Commit 731a832

Browse files
committed
add utility fusiontreetype
1 parent 4470e2f commit 731a832

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fusiontrees/fusiontrees.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ function fusiontreetype(::Type{I}, N::Int) where {I<:Sector}
145145
FusionTree{I,N,N - 2,N - 1}
146146
end
147147
end
148+
function fusiontreetype(::Type{I}, N₁::Int, N₂::Int) where {I<:Sector}
149+
return Tuple{fusiontreetype(I, N₁),fusiontreetype(I, N₂)}
150+
end
148151

149152
# converting to actual array
150153
function Base.convert(A::Type{<:AbstractArray}, f::FusionTree{I,0}) where {I}

0 commit comments

Comments
 (0)