- ...
This commit is contained in:
		
							parent
							
								
									6e54324d4f
								
							
						
					
					
						commit
						cd4048a0b5
					
				@ -249,7 +249,7 @@ class LogicFunction implements JsonSerializable
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public function drawNetwork(string $outvar = "f"): string {
 | 
			
		||||
        $expr = str_replace(["^"], ["xor"], $this->getExpression());
 | 
			
		||||
        $expr = str_replace(["^"], [" xor "], $this->getExpression());
 | 
			
		||||
        return PythonUtils::execPy("draw_logic_network.py", [ $expr, $outvar ]);
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user