Commit f4573bd4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d799fe96
......@@ -219,7 +219,7 @@ def TopoEncode(tree):
if isinstance(node, Tree):
queue += node.children
if 1: # debug
if 1: # make sure that every topology we emit, can be loaded back
t2 = TopoDecode(topo)
if t2 != tree:
panic("BUG: TopoEncode: D(E(·)) != identity\n· = %s\n D(E(·) = %s" % (tree, t2))
......
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