3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 09:44:43 +00:00

deal with regression break

This commit is contained in:
Nikolaj Bjorner 2020-10-12 12:26:50 -07:00
parent 4f0c743e2b
commit b80ba24ba6
4 changed files with 176 additions and 4 deletions

View file

@ -18,6 +18,7 @@ Revision History:
--*/
#pragma once
#include "ast/ast_pp.h"
#include "smt/smt_enode.h"
#include "smt/smt_quantifier.h"
#include "util/obj_hashtable.h"
@ -527,7 +528,7 @@ namespace smt {
ast_manager& m = get_manager();
if (lhs->get_id() > rhs->get_id())
std::swap(lhs, rhs);
if (m.are_distinct(lhs, rhs))
if (m.are_distinct(lhs, rhs))
return m.mk_false();
if (m.are_equal(lhs, rhs))
return m.mk_true();