Skip to content

Commit

Permalink
use broadcasting
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Jan 13, 2024
1 parent 879c81c commit cf1334d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coffea/nanoevents/methods/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _ensure_systematics(self):
Make sure that the parent object always has a field called '__systematics__'.
"""
if "__systematics__" not in awkward.fields(self):
self["__systematics__"] = awkward.Array(len(self) * [{}])
self["__systematics__"] = {}

@property
def systematics(self):
Expand Down

0 comments on commit cf1334d

Please sign in to comment.