From cb16119af7ec4dee5babbbd4a3063a681b8f67c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Robert?= Date: Sat, 25 Jan 2025 22:33:19 +0100 Subject: [PATCH] ignore spurious type check error --- src/gpgi/_data_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gpgi/_data_types.py b/src/gpgi/_data_types.py index d5bf5cf..24a8f22 100644 --- a/src/gpgi/_data_types.py +++ b/src/gpgi/_data_types.py @@ -185,7 +185,7 @@ def cell_edges(self) -> FieldMap[FloatT]: @cached_property def cell_centers(self) -> FieldMap[FloatT]: r"""The positions of cell centers in each direction.""" - return {ax: 0.5 * (arr[1:] + arr[:-1]) for ax, arr in self.coordinates.items()} + return {ax: 0.5 * (arr[1:] + arr[:-1]) for ax, arr in self.coordinates.items()} # type: ignore [misc] @cached_property def cell_widths(self) -> FieldMap[FloatT]: