Commit 2c24087e authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 632779e3
......@@ -282,6 +282,7 @@ def Restructure(ztree, newStructure):
# chain buckets via .next_bucket
assert len(rbucketv) > 0
for i in range(len(rbucketv)-1):
assert rbucketv[i].range.khi <= rbucketv[i+1].klo
rbucketv[i].node.next_bucket = rbucketv[i+1].node
rbucketv[-1].node.next_bucket = None
......
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