Skip to content

Commit ee581fa

Browse files
committed
fix members.py
1 parent c59368b commit ee581fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pykokkos/core/translators/members.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def extract(self, entity: PyKokkosEntity, classtypes: List[PyKokkosEntity]) -> N
8282
param_begin = i + 1
8383
# handle last_pass param for parallel_scan
8484
if (
85-
i + 1 <= len(args)
85+
i + 1 < len(args)
8686
and isinstance(args[i + 1].annotation, ast.Name)
8787
and args[i + 1].annotation.id == "bool"
8888
):

0 commit comments

Comments
 (0)