3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-05 23:05:46 +00:00

remove remove_var

This commit is contained in:
Jakob Rath 2021-09-14 14:42:24 +02:00
parent 8103627e47
commit 66a41383e8
3 changed files with 3 additions and 27 deletions

View file

@ -80,10 +80,9 @@ namespace polysat {
continue;
if (!c->contains_var(v)) {
core.keep(c);
// 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.keep(c); // adds propagation of c to the search stack
// NOTE: more variables than just 'v' might have been removed here (see polysat::test_p3).
// c alone (+ variables) is now enough to represent the conflict.
core.reset();
core.set(c);
return l_true;