mirror of
https://github.com/Z3Prover/z3
synced 2026-01-18 16:28:56 +00:00
Merge pull request #8218 from Z3Prover/copilot/fix-segmentation-fault-ufnira
This commit is contained in:
commit
d60373c5d5
1 changed files with 2 additions and 2 deletions
|
|
@ -1094,11 +1094,11 @@ namespace lp {
|
|||
|
||||
recalculate_entry(ei);
|
||||
|
||||
if (m_e_matrix.m_columns.back().size() == 0) {
|
||||
if (!m_e_matrix.m_columns.empty() && m_e_matrix.m_columns.back().size() == 0) {
|
||||
m_e_matrix.m_columns.pop_back();
|
||||
m_var_register.shrink(m_e_matrix.column_count());
|
||||
}
|
||||
if (m_l_matrix.m_columns.back().size() == 0)
|
||||
if (!m_l_matrix.m_columns.empty() && m_l_matrix.m_columns.back().size() == 0)
|
||||
m_l_matrix.m_columns.pop_back();
|
||||
}
|
||||
remove_irrelevant_fresh_defs();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue