Skip to content

Commit

Permalink
fix #1468
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <[email protected]>
  • Loading branch information
NikolajBjorner committed Feb 6, 2018
1 parent 159e6ad commit cb68960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/sat/sat_probing.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ namespace sat {

struct report;

void reset_cache(literal l);
void cache_bins(literal l, unsigned old_tr_sz);
bool try_lit(literal l, bool updt_cache);
void process(bool_var v);
Expand All @@ -66,6 +65,7 @@ namespace sat {

bool operator()(bool force = false);

void reset_cache(literal l);
void updt_params(params_ref const & p);
static void collect_param_descrs(param_descrs & d);

Expand Down
2 changes: 2 additions & 0 deletions src/sat/sat_solver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2702,6 +2702,8 @@ namespace sat {
if (v < m_level.size()) {
for (bool_var i = v; i < m_level.size(); ++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_assignment.shrink(2*v);
Expand Down

0 comments on commit cb68960

Please sign in to comment.