Commit a3c0e825 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cc4a3644
......@@ -388,7 +388,7 @@ def Restructure(ztree, newStructure):
# normal tree node
zstate = ()
assert len(node.children) == len(node.keyv) + 1
zstate += node.children[0]
zstate += (node.children[0],)
for (child, k) in zip(node.children[1:], node.keyv):
zstate += (k, child) # (child0, k0, child1, k1, ..., childN, kN, childN+1)
zstate = (zstate,)
......
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