mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	Fixed old-style C variable declaration problem in interpolation C example.
This commit is contained in:
		
							parent
							
								
									96f6bf7028
								
							
						
					
					
						commit
						3b92128ed8
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2351,11 +2351,12 @@ void interpolation_example() {
 | 
			
		|||
    Z3_ast f = Z3_mk_and(ctx,2,args3);
 | 
			
		||||
    Z3_ast_vector interpolant = 0;
 | 
			
		||||
    Z3_model m = 0;
 | 
			
		||||
    Z3_lbool result = Z3_L_UNDEF;
 | 
			
		||||
 | 
			
		||||
    printf("\ninterpolation_example\n");
 | 
			
		||||
    LOG_MSG("interpolation_example");
 | 
			
		||||
 | 
			
		||||
    Z3_lbool result = Z3_compute_interpolant(ctx,f,0,&interpolant,&m);
 | 
			
		||||
    result = Z3_compute_interpolant(ctx,f,0,&interpolant,&m);
 | 
			
		||||
 | 
			
		||||
    switch (result) {
 | 
			
		||||
    case Z3_L_FALSE:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue