Skip to content

Commit

Permalink
Fix empty case of _compute_facial_adjacency_from_vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Mar 17, 2022
1 parent 0ed3c1d commit 16581c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meshmode/mesh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ def _compute_facial_adjacency_from_vertices(
groups, element_id_dtype, face_id_dtype, face_vertex_indices_to_tags=None
) -> Sequence[Sequence[FacialAdjacencyGroup]]:
if not groups:
return None
return []

if face_vertex_indices_to_tags is not None:
boundary_tags = {
Expand Down

0 comments on commit 16581c5

Please sign in to comment.