Skip to content

Commit

Permalink
use broadcasting
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray committed Apr 22, 2023
1 parent 3ca2b7d commit 4cb8986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffea/nanoevents/methods/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,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 4cb8986

Please sign in to comment.