3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-20 12:53:38 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-02-06 10:21:02 -08:00
parent 159e6ad987
commit cb6896087d
2 changed files with 3 additions and 1 deletions

View file

@ -55,7 +55,6 @@ namespace sat {
struct report; struct report;
void reset_cache(literal l);
void cache_bins(literal l, unsigned old_tr_sz); void cache_bins(literal l, unsigned old_tr_sz);
bool try_lit(literal l, bool updt_cache); bool try_lit(literal l, bool updt_cache);
void process(bool_var v); void process(bool_var v);
@ -66,6 +65,7 @@ namespace sat {
bool operator()(bool force = false); bool operator()(bool force = false);
void reset_cache(literal l);
void updt_params(params_ref const & p); void updt_params(params_ref const & p);
static void collect_param_descrs(param_descrs & d); static void collect_param_descrs(param_descrs & d);

View file

@ -2702,6 +2702,8 @@ namespace sat {
if (v < m_level.size()) { if (v < m_level.size()) {
for (bool_var i = v; i < m_level.size(); ++i) { for (bool_var i = v; i < m_level.size(); ++i) {
m_case_split_queue.del_var_eh(i); m_case_split_queue.del_var_eh(i);
m_probing.reset_cache(literal(i, true));
m_probing.reset_cache(literal(i, false));
} }
m_watches.shrink(2*v); m_watches.shrink(2*v);
m_assignment.shrink(2*v); m_assignment.shrink(2*v);