mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
merge
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1028c80851
commit
186a3c58e5
1 changed files with 5 additions and 2 deletions
|
@ -299,7 +299,8 @@ namespace simplex {
|
|||
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::add_var(row dst, numeral const& n, var_t v) {
|
||||
if (m.is_zero(n)) return;
|
||||
if (m.is_zero(n))
|
||||
return;
|
||||
_row& r = m_rows[dst.id()];
|
||||
column& c = m_columns[v];
|
||||
unsigned r_idx;
|
||||
|
@ -318,7 +319,9 @@ namespace simplex {
|
|||
*/
|
||||
template<typename Ext>
|
||||
void sparse_matrix<Ext>::add(row row1, numeral const& n, row row2) {
|
||||
if (m.is_zero(n)) return;
|
||||
|
||||
if (m.is_zero(n))
|
||||
return;
|
||||
m_stats.m_add_rows++;
|
||||
_row & r1 = m_rows[row1.id()];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue