mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
use CASSERT instead of lp_assert for static_matrix
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
181bb60e36
commit
0ee68220e1
5 changed files with 9 additions and 11 deletions
|
@ -184,7 +184,7 @@ public:
|
|||
c.next_dead_index() = m_first_dead;
|
||||
m_first_dead = j;
|
||||
}
|
||||
lp_assert(is_correct());
|
||||
CASSERT("check_static_matrix", is_correct());
|
||||
}
|
||||
|
||||
bool is_correct() const {
|
||||
|
@ -264,7 +264,7 @@ public:
|
|||
c.next_dead_index() = m_first_dead;
|
||||
m_first_dead = j;
|
||||
}
|
||||
lp_assert(is_correct());
|
||||
CASSERT("check_static_matrix", is_correct());
|
||||
}
|
||||
|
||||
const column_cell& operator[] (unsigned i) const { return m_cells[i];}
|
||||
|
@ -330,7 +330,7 @@ public:
|
|||
}
|
||||
m_cells[0] = m_cells[i];
|
||||
m_cells[i] = head_copy;
|
||||
lp_assert(is_correct());
|
||||
CASSERT("check_static_matrix", is_correct());
|
||||
}
|
||||
|
||||
column_cell & add_cell(unsigned i, unsigned & index) {
|
||||
|
@ -580,7 +580,7 @@ public:
|
|||
m_columns.pop_back(); // delete the last column
|
||||
m_stack.pop();
|
||||
}
|
||||
lp_assert(is_correct());
|
||||
CASSERT("check_static_matrix", is_correct());
|
||||
}
|
||||
|
||||
void multiply_row(unsigned row, T const & alpha) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue