Skip to content

Commit

Permalink
BuiltList.lists: provide a default
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jun 26, 2022
1 parent 94532aa commit 319778c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyopencl/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def _get_arg_list(arg_list, prefix=""):
class BuiltList:
count: Optional[int]
starts: Optional[pyopencl.array.Array]
lists: Optional[pyopencl.array.Array]
lists: Optional[pyopencl.array.Array] = None
num_nonempty_lists: Optional[int] = None
nonempty_indices: Optional[pyopencl.array.Array] = None
compressed_indices: Optional[pyopencl.array.Array] = None
Expand Down

0 comments on commit 319778c

Please sign in to comment.