@@ -1829,7 +1829,8 @@ void Counter::print_trail(bool check_entail, bool check_anything) const {
18291829void Counter::go_back_to (int32_t backj) {
18301830 debug_print (" going back to lev: " << backj << " dec level now: " << dec_level ());
18311831 while (dec_level () > backj) {
1832- debug_print (" at dec lit: " << top_dec_lit () << " lev: " << dec_level () << " cnt:" << decisions.top ().total_model_count ());
1832+ debug_print (" at dec lit: " << top_dec_lit () << " lev: " << dec_level ()
1833+ << " cnt:" << decisions.top ().total_model_count ());
18331834 VERBOSE_DEBUG_DO (print_comp_stack_info ());
18341835 decisions.top ().mark_branch_unsat ();
18351836 decisions.top ().zero_out_all_sol (); // not sure it's needed
@@ -1843,7 +1844,8 @@ void Counter::go_back_to(int32_t backj) {
18431844 comp_manager->remove_cache_pollutions_of (decisions.top ());
18441845 comp_manager->clean_remain_comps_of (decisions.top ());
18451846 }
1846- VERBOSE_DEBUG_DO (cout << " now at dec lit: " << top_dec_lit () << " lev: " << dec_level () << " cnt:" << decisions.top ().total_model_count () << endl);
1847+ VERBOSE_DEBUG_DO (cout << " now at dec lit: " << top_dec_lit () << " lev: " << dec_level ()
1848+ << " cnt:" << *decisions.top ().total_model_count () << endl);
18471849 }
18481850 VERBOSE_DEBUG_DO (print_comp_stack_info ());
18491851 VERBOSE_DEBUG_DO (cout << " DONE backw cleaning" << endl);
@@ -3375,12 +3377,12 @@ bool Counter::run_sat_solver(RetState& state) {
33753377 uint32_t v = *it;
33763378 if (v >= opt_indep_support_end) continue ;
33773379 debug_print (COLYEL " SAT solver -- mult var: " << setw (4 ) << v << " val: " << setw (3 ) << sat_solution[v]
3378- << " weight: " << setw (9 ) << get_weight (Lit (v, sat_solution[v] == T_TRI)) << COLDEF
3380+ << " weight: " << setw (9 ) << * get_weight (Lit (v, sat_solution[v] == T_TRI)) << COLDEF
33793381 << " dec_lev: " << setw (5 ) << var (v).decision_level << " sat_start_dec_level: " << sat_start_dec_level);
33803382 if (var (v).decision_level != INVALID_DL && var (v).decision_level <= sat_start_dec_level) continue ;
33813383 *cnt *= *get_weight (Lit (v, sat_solution[v] == T_TRI));
33823384 }
3383- debug_print (COLYEL " SAT cnt will be: " << cnt);
3385+ debug_print (COLYEL " SAT cnt will be: " << * cnt);
33843386 }
33853387 decisions.top ().var = 0 ;
33863388 var (0 ).sublevel = old_sublev; // hack not to re-propagate everything.
@@ -3402,11 +3404,11 @@ bool Counter::run_sat_solver(RetState& state) {
34023404 else stats.sat_found_unsat ++;
34033405 stats.sat_conflicts += stats.conflicts -conflicts_before;
34043406
3405- debug_print (" after SAT mode. cnt dec: " << decisions.top ().total_model_count ()
3406- << " left: " << decisions.top ().left_model_count ()
3407- << " right: " << decisions.top ().right_model_count ());
3407+ debug_print (" after SAT mode. cnt dec: " << * decisions.top ().total_model_count ()
3408+ << " left: " << * decisions.top ().left_model_count ()
3409+ << " right: " << * decisions.top ().right_model_count ());
34083410 if (sat) {
3409- debug_print (" after SAT mode. cnt of this comp: " << decisions.top ().total_model_count ()
3411+ debug_print (" after SAT mode. cnt of this comp: " << * decisions.top ().total_model_count ()
34103412 << " unproc comps end: " << decisions.top ().get_unproc_comps_end ()
34113413 << " remaining comps: " << decisions.top ().remaining_comps_ofs ()
34123414 << " has unproc: " << decisions.top ().has_unproc_comps ());
0 commit comments