Skip to content

Commit

Permalink
fix resulting __setitem__ layout type for ak.Record
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Jan 16, 2025
1 parent f35dc08 commit af405db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/awkward/highlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -2144,8 +2144,8 @@ def __setitem__(self, where, what):
):
raise TypeError("only fields may be assigned in-place (by field name)")

self._layout = ak.operations.ak_with_field._impl(
self._layout,
self._layout._array = ak.operations.ak_with_field._impl(
self._layout.array,
what,
where,
highlevel=False,
Expand Down

0 comments on commit af405db

Please sign in to comment.