Fix level distribution calculation for the last partition
This commit is contained in:
parent
4ef74e1099
commit
f61574dbda
@ -175,7 +175,8 @@ class LevelDistributionSentinel (object):
|
||||
counts[level] += 1
|
||||
tree_iter = model_next (tree_iter)
|
||||
|
||||
# FIXME: We lose the last partition here!
|
||||
# Now handle the last one:
|
||||
data.append (tuple (counts))
|
||||
|
||||
yield False
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user