Skip to content

Commit

Permalink
fix: walk into lists!
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Apr 10, 2023
1 parent cf7394f commit a6df6c9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/awkward/operations/ak_with_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ def purelist_is_record(layout):
def action_is_record(input, **kwargs):
nonlocal result

if input.is_list:
return input
elif input.is_record:
if input.is_record:
result = True
return input
elif input.is_union:
Expand Down

0 comments on commit a6df6c9

Please sign in to comment.