mirror of
https://github.com/Z3Prover/z3
synced 2025-04-10 19:27:06 +00:00
Follow-up fix for #377.
This commit is contained in:
parent
6f886d0731
commit
e652b7d2c7
|
@ -536,7 +536,7 @@ class SortRef(AstRef):
|
|||
|
||||
def __hash__(self):
|
||||
""" Hash code. """
|
||||
ASTRef.__hash__(self)
|
||||
AstRef.__hash__(self)
|
||||
|
||||
def is_sort(s):
|
||||
"""Return `True` if `s` is a Z3 sort.
|
||||
|
@ -802,7 +802,7 @@ class ExprRef(AstRef):
|
|||
|
||||
def __hash__(self):
|
||||
""" Hash code. """
|
||||
ASTRef.__hash__(self)
|
||||
AstRef.__hash__(self)
|
||||
|
||||
def __ne__(self, other):
|
||||
"""Return a Z3 expression that represents the constraint `self != other`.
|
||||
|
|
Loading…
Reference in a new issue