3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-12-07 09:03:36 +03:00
parent e5ca451a02
commit 8eb2356b68

View file

@ -359,13 +359,22 @@ final_check_status theory_diff_logic<Ext>::final_check_eh() {
}
TRACE("arith_final", display(tout); );
// either will already be zero (as we don't do mixed constraints).
m_graph.set_to_zero(get_zero(true), get_zero(false));
SASSERT(is_consistent());
if (m_non_diff_logic_exprs) {
return FC_GIVEUP;
}
for (enode* n : get_context().enodes()) {
family_id fid = n->get_owner()->get_family_id();
if (fid != get_family_id() &&
fid != get_manager().get_basic_family_id()) {
return FC_GIVEUP;
}
}
// either will already be zero (as we don't do mixed constraints).
m_graph.set_to_zero(get_zero(true), get_zero(false));
return FC_DONE;
}