From d04adc94e63336e9f45533c45f61d24b78f4b9ab Mon Sep 17 00:00:00 2001 From: leburgel Date: Thu, 27 Aug 2026 14:02:14 +0200 Subject: [PATCH] Add `hash` for `FusionTreeBlock` --- src/fusiontrees/fusiontrees.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fusiontrees/fusiontrees.jl b/src/fusiontrees/fusiontrees.jl index 13710ee5b..c16f4191c 100644 --- a/src/fusiontrees/fusiontrees.jl +++ b/src/fusiontrees/fusiontrees.jl @@ -214,6 +214,7 @@ function Base.hash(f::FusionTree{I}, h::UInt) where {I} end return h end +Base.hash(b::FusionTreeBlock, h::UInt) = hash(fusiontrees(b), h) function Base.:(==)(f₁::FusionTree{I, N}, f₂::FusionTree{I, N}) where {I <: Sector, N} f₁.coupled == f₂.coupled || return false @inbounds for i in 1:N