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

Commit

Permalink
correctly interpret std::vectors nested within TClonesArrays
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Nov 15, 2018
1 parent 0c759e7 commit f7cc73e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion uproot/interp/auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def transform(node, tofloat=True):
else:
ascontent = asdtype(fromdtype, fromdtype)
if branch._isTClonesArray:
return asjagged(ascontent, skipbytes=6)
return asgenobj(SimpleArray(STLVector(asdtype(">i2"))), branch._context, 6)
else:
return asjagged(ascontent, skipbytes=10)

Expand Down
2 changes: 1 addition & 1 deletion uproot/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

import re

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

Expand Down

0 comments on commit f7cc73e

Please sign in to comment.