mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	err
This commit is contained in:
		
							parent
							
								
									7cb4932ae8
								
							
						
					
					
						commit
						5964b26ca2
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1880,7 +1880,7 @@ namespace z3 {
 | 
			
		|||
        if (a.is_int()) {
 | 
			
		||||
            expr zero = a.ctx().int_val(0);
 | 
			
		||||
	    expr ge = a >= zero;
 | 
			
		||||
            r = Z3_mk_ite(a.ctx(), ge, a, zero), a, -a);
 | 
			
		||||
            r = Z3_mk_ite(a.ctx(), ge, a, -a);	    
 | 
			
		||||
        }
 | 
			
		||||
        else if (a.is_real()) {
 | 
			
		||||
            expr zero = a.ctx().real_val(0);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue