mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
fixes, tests
This commit is contained in:
parent
e6c413b249
commit
a574eebd05
9 changed files with 110 additions and 48 deletions
|
@ -146,6 +146,7 @@ namespace polysat {
|
|||
if (!c2->has_bvar() || l_undef == c2.bvalue(s))
|
||||
core.keep(c2); // adds propagation of c to the search stack
|
||||
core.reset();
|
||||
LOG("reduced to " << c2);
|
||||
if (c2.bvalue(s) == l_false) {
|
||||
core.insert(eq);
|
||||
core.insert(c);
|
||||
|
@ -166,7 +167,7 @@ namespace polysat {
|
|||
while (result == l_undef)
|
||||
result = try_explain1(v, core);
|
||||
LOG("success? " << result);
|
||||
return result;
|
||||
return result == l_true;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue