提交 4f773c52 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Revert change 6c613932a63c, which was giving lots of test failures

上级 940e4bd7
...@@ -1109,7 +1109,14 @@ class _Linker(gof.link.LocalLinker): ...@@ -1109,7 +1109,14 @@ class _Linker(gof.link.LocalLinker):
# fact not been destroyed. # fact not been destroyed.
# Therefore... we only need to overwrite inputs that *have* # Therefore... we only need to overwrite inputs that *have*
# been marked as destroyed. # been marked as destroyed.
if env.destroyers(r):
#TODO: The following was tried on revision 6c613932a63c,
# and made lots of tests fail, some complaining about
# AttributeError: 'Env' object has no attribute 'destroyers'
# some giving plain wrong numerical results.
#if env.destroyers(r):
# storage_map[r][0] = _lessbroken_deepcopy(r_vals[r])
storage_map[r][0] = _lessbroken_deepcopy(r_vals[r]) storage_map[r][0] = _lessbroken_deepcopy(r_vals[r])
clobber = False clobber = False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论