Skip to content

Commit 6d4b407

Browse files
committed
Fix type hint
1 parent 88eb331 commit 6d4b407

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fenicsx_ii/ufl_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def _ufl_expr_reconstruct_(self, *operands):
185185
class OverloadedConstant(dolfinx.fem.Constant):
186186
"""Constant that is defined on a different mesh."""
187187

188-
def __init__(self, mesh: dolfinx.mesh.Mesh, const: dolfinx.fem.Constant):
188+
def __init__(self, mesh: ufl.Mesh, const: dolfinx.fem.Constant):
189189
ufl.Constant.__init__(self, mesh, const.value.shape)
190190
self._cpp_object = const._cpp_object
191191

0 commit comments

Comments
 (0)