提交 2a085abe authored 作者: James Bergstra's avatar James Bergstra

return expr -> rval = expr; return rval

上级 2f9140d4
......@@ -394,7 +394,8 @@ class Elemwise(Op):
other_items = other.inplace_pattern.items()
items.sort()
other_items.sort()
return self.scalar_op == other.scalar_op and items == other_items
rval = (self.scalar_op == other.scalar_op) and (items == other_items)
return rval
return False
def __hash__(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论