mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	Fix concat() in c++ api
Signed-off-by: Nuno Lopes <nlopes@microsoft.com>
This commit is contained in:
		
							parent
							
								
									09afb31d4c
								
							
						
					
					
						commit
						1dc17db56a
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -1111,9 +1111,10 @@ namespace z3 { | |||
|     } | ||||
| 
 | ||||
|     inline expr concat(expr const& a, expr const& b) { | ||||
|         Z3_ast r = Z3_mk_concat(ctx, (Z3_app) a, (Z3_app) b); | ||||
|         ctx.check_error(); | ||||
|         return expr(ctx, r); | ||||
|         check_context(a, b); | ||||
|         Z3_ast r = Z3_mk_concat(a.ctx(), a, b); | ||||
|         a.ctx().check_error(); | ||||
|         return expr(a.ctx(), r); | ||||
|     } | ||||
|      | ||||
|     class func_entry : public object { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue