3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-09-23 13:52:27 -07:00
parent 2dd9ea071d
commit 74aa47f458

View file

@ -1148,7 +1148,9 @@ namespace nlsat {
checkpoint(); checkpoint();
if (value(l) == l_false) if (value(l) == l_false)
continue; continue;
CTRACE("nlsat", max_var(l) != m_xk, display(tout); if (value(l) == l_true)
return true; // could happen if clause is a tautology
CTRACE("nlsat", max_var(l) != m_xk || value(l) != l_undef, display(tout);
tout << "xk: " << m_xk << ", max_var(l): " << max_var(l) << ", l: "; display(tout, l) << "\n"; tout << "xk: " << m_xk << ", max_var(l): " << max_var(l) << ", l: "; display(tout, l) << "\n";
display(tout, cls) << "\n";); display(tout, cls) << "\n";);
SASSERT(value(l) == l_undef); SASSERT(value(l) == l_undef);