Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
schnellerhase committed Nov 17, 2024
1 parent 468f8a2 commit 2310b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/dolfinx/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def compute_colliding_cells(


def squared_distance(
mesh: Mesh, dim: int, entities: list[int], points: npt.NDArray[np.floating]
mesh: Mesh, dim: int, entities: npt.NDArray[np.int32], points: npt.NDArray[np.floating]
) -> npt.NDArray[np.floating]:
"""Compute the squared distance between a point and a mesh entity.
Expand Down

0 comments on commit 2310b1c

Please sign in to comment.