mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
sparse_matrix iterators
This commit is contained in:
parent
6eae27ffad
commit
9275d1e57a
4 changed files with 22 additions and 7 deletions
|
@ -98,7 +98,7 @@ namespace simplex {
|
|||
if (!t1.is_dead()) {
|
||||
if (i != j) {
|
||||
_row_entry & t2 = m_entries[j];
|
||||
t2.m_coeff.swap(t1.m_coeff);
|
||||
m.swap(t2.m_coeff, t1.m_coeff);
|
||||
t2.m_var = t1.m_var;
|
||||
t2.m_col_idx = t1.m_col_idx;
|
||||
SASSERT(!t2.is_dead());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue