提交 e3a886eb authored 作者: Ian Goodfellow's avatar Ian Goodfellow

fix bug introduced by earlier commit (I tried squashing the commits and

git just got rid of this edit)
上级 ab1a1c26
...@@ -661,8 +661,8 @@ def _populate_var_to_node_to_idx(outputs, wrt): ...@@ -661,8 +661,8 @@ def _populate_var_to_node_to_idx(outputs, wrt):
if app not in app_to_idx: if app not in app_to_idx:
app_to_idx[app] = [] app_to_idx[app] = []
idx = app_to_idx[app] idx = app_to_idx[app]
assert i not in idx if i not in idx:
idx.append(i) idx.append(i)
account_for(ipt) account_for(ipt)
# add all variables that are true ancestors of the cost # add all variables that are true ancestors of the cost
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论