Fix level distribution calculation for the last partition

This commit is contained in:
René Stadler 2007-11-29 13:51:46 +02:00 committed by Stefan Sauer
parent 4ef74e1099
commit f61574dbda

View file

@ -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