Skip to content

Commit

Permalink
minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchan committed Oct 5, 2022
1 parent be85c4d commit d458b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hybrid_meshes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function MeshData(VX, VY, EToV_unsorted, rds::LittleDict{AbstractElemShape, <:Re

# LittleDict between element type and element_ids of that type, e.g., element_ids[Tri()] = ...
# We distinguish between different elements by the number of vertices.
# This should work in 3D too (might have issues if we ever do mixed 2D/3D meshes).
# This should work in 3D too (but might have issues if we ever do mixed 2D/3D meshes).
element_types = keys(rds)
element_ids = LittleDict((Pair(elem, findall(length.(EToV) .== num_vertices(elem))) for elem in element_types))
num_elements_of_type(elem) = length(element_ids[elem])
Expand Down

2 comments on commit d458b0c

@jlchan
Copy link
Owner Author

@jlchan jlchan commented on d458b0c Oct 5, 2022

Choose a reason for hiding this comment

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

@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/69549

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.14.0 -m "<description of version>" d458b0c85efbac00d14053511ea84fc680f5c60d
git push origin v0.14.0

Please sign in to comment.