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

Commit

Permalink
Merge pull request #338 from ndawe/master
Browse files Browse the repository at this point in the history
[ci skip] fix comment typo
  • Loading branch information
ndawe committed Aug 3, 2017
2 parents d6cab76 + 7400edf commit 301cb49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root_numpy/src/tree.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ cdef object tree2array(TTree* tree, branches,
branch_dict = dict()
for idx, branch_spec in enumerate(branches):
if isinstance(branch_spec, tuple):
# branch_spec should be (branch_name, default_value) or
# (branch_name, cropped_length, fill_value)
# branch_spec should be (branch_name, fill_value) or
# (branch_name, fill_value, length)
if len(branch_spec) == 2:
# max_length is implicitly equal to one
branch_dict[branch_spec[0]] = (idx, 1)
Expand Down

0 comments on commit 301cb49

Please sign in to comment.