mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 03:32:28 +00:00 
			
		
		
		
	
							parent
							
								
									90098633ef
								
							
						
					
					
						commit
						e5dffeace4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -46,7 +46,7 @@ class ComplexExpr: | ||||||
|         other = _to_complex(other) |         other = _to_complex(other) | ||||||
|         return ComplexExpr(self.r*other.r - self.i*other.i, self.r*other.i + self.i*other.r) |         return ComplexExpr(self.r*other.r - self.i*other.i, self.r*other.i + self.i*other.r) | ||||||
| 
 | 
 | ||||||
|     def __mul__(self, other): |     def __rmul__(self, other): | ||||||
|         other = _to_complex(other) |         other = _to_complex(other) | ||||||
|         return ComplexExpr(other.r*self.r - other.i*self.i, other.i*self.r + other.r*self.i) |         return ComplexExpr(other.r*self.r - other.i*self.i, other.i*self.r + other.r*self.i) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue