mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-13 07:30:06 +01:00
Fix a Flake8 diagnostic.
This commit is contained in:
@@ -646,7 +646,7 @@ class KernelDG(nx.DiGraph):
|
||||
graph.nodes[n]["style"] += ",filled"
|
||||
graph.nodes[n]["fillcolor"] = color
|
||||
if (
|
||||
(max_color >= 4 and color in (1, max_color))
|
||||
(max_color >= 4 and color in (1, max_color))
|
||||
or (max_color >= 10 and color in (1, 2, max_color - 1 , max_color))
|
||||
):
|
||||
graph.nodes[n]["fontcolor"] = "white"
|
||||
|
||||
Reference in New Issue
Block a user