提交 c4441bd4 authored 作者: abalkin's avatar abalkin

Issue #783: python3 compatible - fixed a hidden bug.

上级 62e82051
...@@ -426,7 +426,7 @@ class FillDiagonal(gof.Op): ...@@ -426,7 +426,7 @@ class FillDiagonal(gof.Op):
def __eq__(self, other): def __eq__(self, other):
return type(self) == type(other) return type(self) == type(other)
def __hash_(self): def __hash__(self):
return hash(type(self)) return hash(type(self))
def __str__(self): def __str__(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论