Skip to content

Commit

Permalink
fix another typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
havogt committed Sep 13, 2023
1 parent c05bdbb commit 4edd2f5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gt4py/next/iterator/embedded.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,15 @@ def _make_tuple(
column_range = column_range_cvar.get()
assert column_range is not None

col: list[npt.DTypeLike | tuple[tuple | Column | npt.DTypeLike, ...] | Undefined] = []
col: list[
npt.DTypeLike | tuple[tuple | Column | npt.DTypeLike | Undefined, ...] | Undefined
] = []
for i in column_range:
# we don't know the buffer size, therefore we have to try.
try:
col.append(
tuple(
_make_tuple( # type: ignore[misc] # TODO(havogt) don't want to waste time now trying to fix the error "Generator has incompatible item type"
_make_tuple(
f,
_single_vertical_idx(
named_indices, column_axis, i - column_range.start
Expand Down

0 comments on commit 4edd2f5

Please sign in to comment.