mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Remove unnecessary copy of coeff in iteration.
This commit is contained in:
		
							parent
							
								
									f5bba63674
								
							
						
					
					
						commit
						5a0f5a778f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue