3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 12:25:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-03-10 11:59:50 -08:00
parent 04ac5f03f7
commit 78f4513441
3 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ public:
void init_row_from_container(int i, const T & c, std::function<unsigned (unsigned)> column_fix, const mpq& sign) {
auto & row = m_data[adjust_row(i)];
lp_assert(row_is_initialized_correctly(row));
for (const auto & p : c) {
for (lp::lar_term::ival p : c) {
unsigned j = adjust_column(column_fix(p.column().index()));
row[j] = sign * p.coeff();
}