3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 21:38:44 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-03-16 19:56:18 -07:00
parent f86205b0e8
commit 019acdb1ef

View file

@ -508,7 +508,7 @@ namespace smt {
while (consistent && can_propagate()) {
unsigned idx = m_asserted_atoms[m_asserted_qhead];
m_asserted_qhead++;
consistent = propagate_atom(m_atoms[idx]);
consistent = propagate_atom(m_atoms[idx]);
}
}
@ -520,7 +520,7 @@ namespace smt {
return false;
}
int edge_id = a.get_asserted_edge();
if (!enable_edge(edge_id)) {
if (!enable_edge(edge_id) || !is_consistent()) {
m_graph.traverse_neg_cycle2(m_params.m_arith_stronger_lemmas, m_nc_functor);
set_conflict();
return false;