3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-04-15 08:44:10 +00:00
This commit is contained in:
Guangyu (Gary) HU 2026-04-14 11:20:10 +08:00 committed by GitHub
commit 0258ec600f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ class BinCoverSolver(UserPropagateBase):
assert isinstance(value, BitVecNumRef)
bin_index = value.as_long()
if bin_index >= len(self.bins):
return NOne
return None
return self.bins[bin_index]
def _add_item2bin(self, item, bin):

View file

@ -81,7 +81,7 @@ class ComplexExpr:
other = _to_complex(other)
return And(self.r == other.r, self.i == other.i)
def __neq__(self, other):
def __ne__(self, other):
return Not(self.__eq__(other))
def simplify(self):