mirror of
https://github.com/Z3Prover/z3
synced 2025-10-09 09:21:56 +00:00
pop to search level when finding split atoms
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e140965b90
commit
4d2338133f
2 changed files with 2 additions and 1 deletions
|
@ -63,6 +63,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
void run(nex *e) {
|
void run(nex *e) {
|
||||||
|
|
||||||
TRACE(nla_cn, tout << *e << "\n";);
|
TRACE(nla_cn, tout << *e << "\n";);
|
||||||
SASSERT(m_nex_creator.is_simplified(*e));
|
SASSERT(m_nex_creator.is_simplified(*e));
|
||||||
m_e = e;
|
m_e = e;
|
||||||
|
|
|
@ -350,7 +350,7 @@ namespace smt {
|
||||||
expr_ref result(m);
|
expr_ref result(m);
|
||||||
double score = 0;
|
double score = 0;
|
||||||
unsigned n = 0;
|
unsigned n = 0;
|
||||||
|
ctx->pop_to_search_lvl();
|
||||||
for (bool_var v = 0; v < ctx->get_num_bool_vars(); ++v) {
|
for (bool_var v = 0; v < ctx->get_num_bool_vars(); ++v) {
|
||||||
if (ctx->get_assignment(v) != l_undef)
|
if (ctx->get_assignment(v) != l_undef)
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue