Skip to content

Commit

Permalink
Add type ignore to dtype (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgensd committed Nov 26, 2023
1 parent a1bce80 commit c81667b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx_mpc/multipointconstraint.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MultiPointConstraint():
def __init__(self, V: _fem.FunctionSpace, dtype: _float_classes = default_scalar_type):
self._slaves = numpy.array([], dtype=numpy.int32)
self._masters = numpy.array([], dtype=numpy.int64)
self._coeffs = numpy.array([], dtype=dtype)
self._coeffs = numpy.array([], dtype=dtype) # type: ignore
self._owners = numpy.array([], dtype=numpy.int32)
self._offsets = numpy.array([0], dtype=numpy.int32)
self.V = V
Expand Down

0 comments on commit c81667b

Please sign in to comment.