Commit 34ee3d5a authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix NestedBlockState.project_level()

parent 82e496e6
......@@ -336,7 +336,7 @@ class NestedBlockState(object):
"""Project the partition at level ``l`` onto the lowest level, and return the
corresponding state."""
b = self.project_partition(l, 0)
return self.levels[0].copy(b)
return self.levels[0].copy(b=b)
def print_summary(self):
"""Print a hierarchy summary."""
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment