3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 12:58:44 +00:00

issue #549, replace BoolVal by False, otherwise creates regression

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-04-03 12:53:50 +02:00
parent 11e8f06272
commit 9667185af0

View file

@ -797,7 +797,7 @@ class ExprRef(AstRef):
False
"""
if other == None:
return BoolVal(False, self.ctx)
return False
a, b = _coerce_exprs(self, other)
return BoolRef(Z3_mk_eq(self.ctx_ref(), a.as_ast(), b.as_ast()), self.ctx)