mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
parent
d6040ee5ab
commit
bc8fa67afc
|
@ -1117,6 +1117,8 @@ namespace smt {
|
|||
*/
|
||||
bool context::is_diseq(enode * n1, enode * n2) const {
|
||||
SASSERT(n1->get_sort() == n2->get_sort());
|
||||
if (m.are_distinct(n1->get_expr(), n2->get_expr()))
|
||||
return true;
|
||||
context * _this = const_cast<context*>(this);
|
||||
if (!m_is_diseq_tmp) {
|
||||
app * eq = m.mk_eq(n1->get_expr(), n2->get_expr());
|
||||
|
|
Loading…
Reference in a new issue