3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 03:07:07 +00:00

issue #549, replace False by BoolVal

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2016-04-03 12:52:15 +02:00
parent 33e7640645
commit 11e8f06272

View file

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