From 2310b1cbface070a4e3d658a519a60ece10b1c9c Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Sun, 17 Nov 2024 13:08:51 +0100 Subject: [PATCH] Fix type hint --- python/dolfinx/geometry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/dolfinx/geometry.py b/python/dolfinx/geometry.py index 371e2100ab..cb6901a270 100644 --- a/python/dolfinx/geometry.py +++ b/python/dolfinx/geometry.py @@ -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.