File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1691,7 +1691,7 @@ RetState Counter::backtrack() {
16911691 cout << endl;
16921692#endif
16931693 if (weighted ()) {
1694- FF cnt = decisions.top ().total_model_count ();
1694+ FF cnt = decisions.top ().total_model_count ()-> dup () ;
16951695 all_vars_in_comp (comp_manager->get_super_comp (decisions.top ()), it) {
16961696 if (val (*it) != X_TRI && var (*it).decision_level < dec_level ()) {
16971697 Lit l (*it, val (*it) == T_TRI);
@@ -1710,9 +1710,9 @@ RetState Counter::backtrack() {
17101710 }
17111711
17121712#ifdef VERBOSE_DEBUG
1713- const auto parent_count_before = (decisions.end () - 2 )->total_model_count ();
1714- const auto parent_count_before_left = (decisions.end () - 2 )->left_model_count ();
1715- const auto parent_count_before_right = (decisions.end () - 2 )->right_model_count ();
1713+ const auto parent_count_before = (decisions.end () - 2 )->total_model_count ()-> dup () ;
1714+ const auto parent_count_before_left = (decisions.end () - 2 )->left_model_count ()-> dup () ;
1715+ const auto parent_count_before_right = (decisions.end () - 2 )->right_model_count ()-> dup () ;
17161716#endif
17171717 (decisions.end () - 2 )->include_solution (decisions.top ().total_model_count ());
17181718 decisions.pop_back ();
You can’t perform that action at this time.
0 commit comments