File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ namespace opt {
52
52
if (m_params.m_case_split_strategy == CS_ACTIVITY_DELAY_NEW) {
53
53
m_params.m_relevancy_lvl = 0 ;
54
54
}
55
- m_params.m_arith_auto_config_simplex = false ;
55
+ m_params.m_arith_auto_config_simplex = true ;
56
56
m_params.m_threads = 1 ; // need to interact with the solver that created model so can't have threads
57
57
// m_params.m_auto_config = false;
58
58
}
@@ -67,7 +67,7 @@ namespace opt {
67
67
m_dump_benchmarks = p.dump_benchmarks ();
68
68
m_params.updt_params (_p);
69
69
m_context.updt_params (_p);
70
- m_params.m_arith_auto_config_simplex = false ;
70
+ m_params.m_arith_auto_config_simplex = true ;
71
71
}
72
72
73
73
solver* opt_solver::translate (ast_manager& m, params_ref const & p) {
Original file line number Diff line number Diff line change @@ -83,9 +83,11 @@ namespace smt {
83
83
84
84
template <typename Ext>
85
85
void theory_arith<Ext>::display_row(std::ostream & out, row const & r, bool compact) const {
86
-
86
+ if (static_cast <unsigned >(r.get_base_var ()) >= m_columns.size ())
87
+ return ;
87
88
column const & c = m_columns[r.get_base_var ()];
88
- out << " (v" << r.get_base_var () << " r" << c[0 ].m_row_id << " ) : " ;
89
+ if (c.size () > 0 )
90
+ out << " (v" << r.get_base_var () << " r" << c[0 ].m_row_id << " ) : " ;
89
91
bool first = true ;
90
92
for (auto const & e : r) {
91
93
if (!e.is_dead ()) {
You can’t perform that action at this time.
0 commit comments