提交 01e9943b authored 作者: Razvan Pascanu's avatar Razvan Pascanu

init_out is already a dictionary with the required keys

上级 87c2a30e
......@@ -262,7 +262,7 @@ def scan(fn,
# makes code much cleaner for those who do not use taps. Otherwise
# they would always had to shape_padleft the initial state ..
# which is ugly
if init_out.get('taps', None) == [-1]:
if init_out['taps'] == [-1]:
actual_arg = init_out['membuf']
arg = safe_new(init_out['membuf'][0])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论