From 34faf277405d0f4be9dfd6fccf07d4d1b3aad3f5 Mon Sep 17 00:00:00 2001 From: "Alberto F. Martin" Date: Fri, 3 May 2024 09:52:34 +1000 Subject: [PATCH] Using OrderedDict in DomainContribution() constructor This is missing from 59cab08f0379765d6a33bfcc04b35393f0d52c40 --- src/CellData/DomainContributions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CellData/DomainContributions.jl b/src/CellData/DomainContributions.jl index f1e2b37db..3487f7c12 100644 --- a/src/CellData/DomainContributions.jl +++ b/src/CellData/DomainContributions.jl @@ -6,7 +6,7 @@ struct DomainContribution <: GridapType dict::OrderedDict{Triangulation,AbstractArray} # ordered so that iteration is deterministic (#1002) end -DomainContribution() = DomainContribution(IdDict{Triangulation,AbstractArray}()) +DomainContribution() = DomainContribution(OrderedDict{Triangulation,AbstractArray}()) num_domains(a::DomainContribution) = length(a.dict)