Skip to content

Commit 4cb8986

Browse files
committed
use broadcasting
1 parent 3ca2b7d commit 4cb8986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: coffea/nanoevents/methods/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def _ensure_systematics(self):
4040
Make sure that the parent object always has a field called '__systematics__'.
4141
"""
4242
if "__systematics__" not in awkward.fields(self):
43-
self["__systematics__"] = awkward.Array(len(self) * [{}])
43+
self["__systematics__"] = {}
4444

4545
@property
4646
def systematics(self):

0 commit comments

Comments
 (0)