mirror of
https://github.com/Z3Prover/z3
synced 2025-04-11 03:33:35 +00:00
Remove unnecessary copy of coeff in iteration.
This commit is contained in:
parent
f5bba63674
commit
5a0f5a778f
|
@ -1916,7 +1916,7 @@ namespace smt {
|
|||
lp::var_index vi = m_theory_var2var_index[v];
|
||||
SASSERT(m_solver->is_term(vi));
|
||||
lp::lar_term const& term = m_solver->get_term(vi);
|
||||
for (auto const coeff : term.m_coeffs) {
|
||||
for (auto const& coeff : term.m_coeffs) {
|
||||
lp::var_index wi = coeff.first;
|
||||
lp::constraint_index ci;
|
||||
rational value;
|
||||
|
|
Loading…
Reference in a new issue