mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 05:18:44 +00:00
fix #3653 cubing could convert internal variables to external
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2572506efd
commit
9109a29a15
|
@ -1729,6 +1729,7 @@ namespace sat {
|
|||
|
||||
for (unsigned i = 0; !inconsistent() && i < num_lits; ++i) {
|
||||
literal lit = lits[i];
|
||||
set_external(lit.var());
|
||||
SASSERT(is_external(lit.var()));
|
||||
add_assumption(lit);
|
||||
assign_scoped(lit);
|
||||
|
|
Loading…
Reference in a new issue