This commit is contained in:
Wiesner András 2025-10-14 11:26:56 +02:00
parent 6e54324d4f
commit cd4048a0b5

View File

@ -249,7 +249,7 @@ class LogicFunction implements JsonSerializable
} }
public function drawNetwork(string $outvar = "f"): string { 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 ]); return PythonUtils::execPy("draw_logic_network.py", [ $expr, $outvar ]);
} }
} }