File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ namespace sat {
613613 out << ci.m_num_trues << " " << ci.m_weight << " \n " ;
614614 }
615615 for (unsigned v = 0 ; v < num_vars (); ++v) {
616- out << v << " : " << reward (v) << " \n " ;
616+ out << v << " : rw " << reward (v) << " \n " ;
617617 }
618618 out << " unsat vars: " ;
619619 for (bool_var v : m_unsat_vars) {
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class fix_dl_var_tactic : public tactic {
3535 struct failed {};
3636 ast_manager & m;
3737 arith_util & m_util;
38- expr_fast_mark1 * m_visited;
38+ expr_fast_mark1 * m_visited = nullptr ;
3939 ptr_vector<expr> m_todo;
4040 obj_map<app, unsigned > m_occs;
4141 obj_map<app, unsigned > m_non_nested_occs;
@@ -215,7 +215,7 @@ class fix_dl_var_tactic : public tactic {
215215 app * operator ()(goal const & g) {
216216 try {
217217 expr_fast_mark1 visited;
218- m_visited = &visited;
218+ flet<expr_fast_mark1*> _visited ( m_visited, &visited) ;
219219 unsigned sz = g.size ();
220220 for (unsigned i = 0 ; i < sz; i++) {
221221 process (g.form (i));
You can’t perform that action at this time.
0 commit comments