Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #129 from masonproffitt/master
Browse files Browse the repository at this point in the history
fix for creating TLorentzVectorArray from JaggedArray slices
  • Loading branch information
jpivarski authored May 7, 2019
2 parents 1f878c4 + 89edaff commit 1485075
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions awkward/array/jagged.py
Original file line number Diff line number Diff line change
Expand Up @@ -841,6 +841,7 @@ def _tojagged(self, starts=None, stops=None, copy=True):
increase[good] -= increase[starts[parents[good]]]
index = self._starts[parents]
index += increase
index *= good
out = self.copy(starts=starts, stops=stops, content=self._content[index])
out._parents = parents
return out
Expand Down

0 comments on commit 1485075

Please sign in to comment.