Skip to content

Commit

Permalink
Using OrderedDict in DomainContribution() constructor
Browse files Browse the repository at this point in the history
This is missing from 59cab08
  • Loading branch information
amartinhuertas committed May 2, 2024
1 parent f90fdd2 commit 34faf27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CellData/DomainContributions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

2 comments on commit 34faf27

@amartinhuertas
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/106068

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.18.2 -m "<description of version>" 34faf277405d0f4be9dfd6fccf07d4d1b3aad3f5
git push origin v0.18.2

Please sign in to comment.