mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 10:05:32 +00:00
reset/set on successful superposition
This commit is contained in:
parent
640acd2ebc
commit
d9eca1f40f
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,11 @@ namespace polysat {
|
||||||
|
|
||||||
if (!c->contains_var(v)) {
|
if (!c->contains_var(v)) {
|
||||||
core.keep(c);
|
core.keep(c);
|
||||||
core.remove_var(v);
|
// NOTE: more variables than 'v' might have been removed here (see polysat::test_p3), so remove_var(v) isn't enough.
|
||||||
|
// also, c alone (+ variables) is now enough to represent the conflict.
|
||||||
|
// core.remove_var(v);
|
||||||
|
core.reset();
|
||||||
|
core.set(c);
|
||||||
return l_true;
|
return l_true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue