提交 55699ce4 authored 作者: Frederic Bastien's avatar Frederic Bastien

Better error message

上级 3f49e74b
......@@ -2255,8 +2255,8 @@ class _Linker(gof.link.LocalLinker):
for r in node.outputs:
if r not in r_vals:
idx = order.index(node)
assert thunks_py[idx] is None
assert thunks_c[idx] is None
assert thunks_py[idx] is None, node
assert thunks_c[idx] is None, node
raise Exception("No code run for %s" % node)
if False:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论