mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	fix #7449
This commit is contained in:
		
							parent
							
								
									879bb4b1f0
								
							
						
					
					
						commit
						30ad22a4ef
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		|  | @ -370,9 +370,14 @@ extern "C" { | |||
|             return; | ||||
|         } | ||||
| 
 | ||||
|         for (expr * e : ctx->assertions()) { | ||||
|             to_optimize_ptr(opt)->add_hard_constraint(e); | ||||
|         } | ||||
|         auto o = to_optimize_ptr(opt); | ||||
| 
 | ||||
|         for (auto const& [asr, an] : ctx->tracked_assertions()) | ||||
|             if (an) | ||||
|                 o->add_hard_constraint(asr, an); | ||||
|             else | ||||
|                 o->add_hard_constraint(asr); | ||||
| 
 | ||||
|     } | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue