Skip to content

Commit 882a1bf

Browse files
committed
Fix empty case of _compute_facial_adjacency_from_vertices
1 parent 2924021 commit 882a1bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshmode/mesh/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ def _compute_facial_adjacency_from_vertices(
13411341
groups, element_id_dtype, face_id_dtype, face_vertex_indices_to_tags=None
13421342
) -> Sequence[Sequence[FacialAdjacencyGroup]]:
13431343
if not groups:
1344-
return None
1344+
return []
13451345

13461346
if face_vertex_indices_to_tags is not None:
13471347
boundary_tags = {

0 commit comments

Comments
 (0)