diff --git a/src/smt/theory_arith_core.h b/src/smt/theory_arith_core.h index 63cdc4f22..9c507eed0 100644 --- a/src/smt/theory_arith_core.h +++ b/src/smt/theory_arith_core.h @@ -258,7 +258,7 @@ namespace smt { c_entry.m_row_id = r_id; c_entry.m_row_idx = r_idx; - m_stats.m_tableau_max_columns = std::max(m_stats.m_tableau_max_columns, (unsigned)c_idx + 1); + m_stats.m_tableau_max_columns = std::max(m_stats.m_tableau_max_columns, (unsigned)v + 1); } /**