mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	Missing overload for conflict (#6329)
This commit is contained in:
		
							parent
							
								
									55d5af00cc
								
							
						
					
					
						commit
						25b5b985e6
					
				
					 1 changed files with 10 additions and 0 deletions
				
			
		|  | @ -4314,6 +4314,16 @@ namespace z3 { | ||||||
|             Z3_solver_propagate_consequence(ctx(), cb, fixed.size(), _fixed.ptr(), 0, nullptr, nullptr, conseq); |             Z3_solver_propagate_consequence(ctx(), cb, fixed.size(), _fixed.ptr(), 0, nullptr, nullptr, conseq); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         void conflict(expr_vector const& fixed, expr_vector const& lhs, expr_vector const& rhs) { | ||||||
|  |             assert(cb); | ||||||
|  |             assert(lhs.size() == rhs.size()); | ||||||
|  |             expr conseq = ctx().bool_val(false); | ||||||
|  |             array<Z3_ast> _fixed(fixed); | ||||||
|  |             array<Z3_ast> _lhs(lhs); | ||||||
|  |             array<Z3_ast> _rhs(rhs); | ||||||
|  |             Z3_solver_propagate_consequence(ctx(), cb, fixed.size(), _fixed.ptr(), lhs.size(), _lhs.ptr(), _rhs.ptr(), conseq); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         void propagate(expr_vector const& fixed, expr const& conseq) { |         void propagate(expr_vector const& fixed, expr const& conseq) { | ||||||
|             assert(cb); |             assert(cb); | ||||||
|             assert((Z3_context)conseq.ctx() == (Z3_context)ctx()); |             assert((Z3_context)conseq.ctx() == (Z3_context)ctx()); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue