Skip to content

Commit

Permalink
ignore spurious type check error
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Jan 25, 2025
1 parent 5363e38 commit cb16119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gpgi/_data_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down

0 comments on commit cb16119

Please sign in to comment.