Skip to content

Commit

Permalink
Fix boundary_edge_matrix when there is no boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielVandH committed Apr 25, 2023
1 parent 71a3a69 commit b934738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FiniteVolumeMethod"
uuid = "d4f04ab7-4f65-4d72-8a28-7087bc7f46f4"
authors = ["Daniel VandenHeuvel <danj.vandenheuvel@gmail.com>"]
version = "0.4.4"
version = "0.4.5"

[deps]
ChunkSplitters = "ae650224-84b6-46f8-82ea-d812ca08434e"
Expand Down
2 changes: 1 addition & 1 deletion src/geometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ function boundary_edge_matrix(tri::Triangulation)
bn_nodes = get_convex_hull_indices(tri)
nedges = num_boundary_edges(bn_nodes)
for edge_idx in 1:nedges
left_node = get_boundary_node(bn_nodes, edge_idx)
left_node = get_boundary_nodes(bn_nodes, edge_idx)
right_node = get_right_boundary_node(tri, edge_idx, boundary_index)
adjacent_node = get_adjacent(tri, left_node, right_node)
push!(E, (left_node, right_node, adjacent_node, type))
Expand Down

2 comments on commit b934738

@DanielVandH
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
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/82240

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

Please sign in to comment.