mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Test fix for python3
This commit is contained in:
		
							parent
							
								
									56e874e991
								
							
						
					
					
						commit
						4956f6ef5b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -88,7 +88,7 @@ class Numeral:
 | 
			
		|||
    def __init__(self, num, ctx=None):
 | 
			
		||||
        if isinstance(num, Ast):
 | 
			
		||||
            self.ast  = num
 | 
			
		||||
            self.ctx  = z3._get_ctx(ctx)
 | 
			
		||||
            self.ctx  = _get_ctx(ctx)
 | 
			
		||||
        elif isinstance(num, RatNumRef) or isinstance(num, AlgebraicNumRef):
 | 
			
		||||
            self.ast = num.ast
 | 
			
		||||
            self.ctx = num.ctx
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue