Skip to content

Commit

Permalink
just flatten, don't pack?
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Jan 17, 2024
1 parent 5122443 commit ae42ec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fastjet/_generalevent.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def _check_subtree_input(self, data):
return False

def extract_cons(self, array):
packed_flattened = ak.to_packed(ak.flatten(array))
packed_flattened = ak.flatten(array)
px = packed_flattened.px
py = packed_flattened.py
pz = packed_flattened.pz
Expand Down

0 comments on commit ae42ec4

Please sign in to comment.