mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Another fix for #847. Reset wmax theory solver state between lex calls, otherwise it uses stale constraints
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6d34899c46
commit
0aa912371b
5 changed files with 14 additions and 11 deletions
|
@ -1795,6 +1795,7 @@ namespace smt {
|
|||
|
||||
void context::set_conflict(b_justification js, literal not_l) {
|
||||
if (!inconsistent()) {
|
||||
TRACE("set_conflict", display_literal_verbose(tout, not_l); display(tout, js); );
|
||||
m_conflict = js;
|
||||
m_not_l = not_l;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue