From 72bc3dc7a3b1bcd7f3ea901f4d720fc1056046e7 Mon Sep 17 00:00:00 2001 From: schnellerhase <56360279+schnellerhase@users.noreply.github.com> Date: Sat, 28 Feb 2026 21:03:58 +0100 Subject: [PATCH] Propagate type fix --- src/networks_fenicsx/mesh.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networks_fenicsx/mesh.py b/src/networks_fenicsx/mesh.py index f77683c..0b4db8a 100644 --- a/src/networks_fenicsx/mesh.py +++ b/src/networks_fenicsx/mesh.py @@ -512,13 +512,13 @@ def bifurcation_values(self) -> npt.NDArray[np.int32]: def boundary_values(self) -> npt.NDArray[np.int32]: return self._boundary_values - def in_edges(self, bifurcation_idx: int) -> npt.NDArray[np.int32 | np.int64]: + def in_edges(self, bifurcation_idx: int) -> npt.NDArray[np.int32]: """Return the list of in-edge colors for a given bifurcation node. Index is is the index of the bifurcation in {py:meth}`self.bifurcation_values`.""" assert bifurcation_idx < len(self.bifurcation_values) return self._bifurcation_in_color.links(np.int32(bifurcation_idx)) - def out_edges(self, bifurcation_idx: int) -> npt.NDArray[np.int32 | np.int64]: + def out_edges(self, bifurcation_idx: int) -> npt.NDArray[np.int32]: """Return the list of out-edge colors for a given bifurcation node. Index is is the index of the bifurcation in {py:meth}`self.bifurcation_values`.""" assert bifurcation_idx < len(self.bifurcation_values)