mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	breaking change. Enforce append semantics everywhere for parameter updates #5744
Replace semantics doesn't work with assumptions made elsewhere in code. The remedy is to apply append (override) semantics for parameter changes.
This commit is contained in:
		
							parent
							
								
									e8833f4dac
								
							
						
					
					
						commit
						fc77345bec
					
				
					 53 changed files with 101 additions and 98 deletions
				
			
		| 
						 | 
				
			
			@ -190,7 +190,8 @@ void context_params::get_solver_params(params_ref & p, bool & proofs_enabled, bo
 | 
			
		|||
    proofs_enabled     &= p.get_bool("proof", m_proof);
 | 
			
		||||
    models_enabled     &= p.get_bool("model", m_model);
 | 
			
		||||
    unsat_core_enabled = m_unsat_core || p.get_bool("unsat_core", false);
 | 
			
		||||
    p = merge_default_params(p);
 | 
			
		||||
    if (!m_auto_config && !p.contains("auto_config"))
 | 
			
		||||
        p.set_bool("auto_config", false);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue