Skip to content

Commit

Permalink
Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Sep 24, 2024
1 parent 6939f19 commit 708d46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def refine(
mesh._cpp_object, edges, redistribute, ghost_mode, option
)
# Create new ufl domain as it will carry a reference to the C++ mesh in the ufl_cargo
ufl_domain = ufl.Mesh(mesh._ufl_domain.ufl_coordinate_element()) # type: ignore
ufl_domain = ufl.Mesh(mesh._ufl_domain.ufl_coordinate_element()) # type: ignore
return Mesh(mesh1, ufl_domain), parent_cell, parent_facet


Expand Down

0 comments on commit 708d46a

Please sign in to comment.