Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
fix TLorentzVector.__array_ufunc__ for JaggedArrayMethods
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Oct 4, 2018
1 parent 94b577f commit 1d16d51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uproot_methods/classes/TLorentzVector.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def __array_ufunc__(self, ufunc, method, *inputs, **kwargs):
return self.mag

else:
return awkward.ObjectArray.__array_ufunc__(self, ufunc, method, *inputs, **kwargs)
return super(ArrayMethods, self).__array_ufunc__(ufunc, method, *inputs, **kwargs)

class Methods(Common, uproot_methods.base.ROOTMethods):
_arraymethods = ArrayMethods
Expand Down
2 changes: 1 addition & 1 deletion uproot_methods/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import re

__version__ = "0.2.3"
__version__ = "0.2.4"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down

0 comments on commit 1d16d51

Please sign in to comment.