You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.
Calling empty_like on a TLorentzVectorArray gives invalid results. The returning object's _valid method raises exceptions.
Example:
import awkward
import uproot_methods
a = awkward.fromiter([[1, 2], [3]])
t = uproot_methods.TLorentzVectorArray.from_cartesian(a, a, a, a * 10)
print(t.empty_like())
This causes p3 and boostp3 to break, however it might not be visible in all cases. Slicing for example will make it visible:
t[[True, True]].p3
raises an exception.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Calling
empty_like
on aTLorentzVectorArray
gives invalid results. The returning object's_valid
method raises exceptions.Example:
This causes
p3
andboostp3
to break, however it might not be visible in all cases. Slicing for example will make it visible:raises an exception.
The text was updated successfully, but these errors were encountered: