提交 d7f8cfb5 authored 作者: Frederic's avatar Frederic

small refactoring to lower the indentation.

上级 bdd4a802
......@@ -2171,8 +2171,8 @@ class EquilibriumOptimizer(NavigatorOptimizer):
t_opt = time.time()
lopt_change = self.process_node(fgraph, node, lopt)
time_opts[lopt] += time.time() - t_opt
# TODO: if not ...: continue
if lopt_change:
if not lopt_change:
continue
process_count.setdefault(lopt, 0)
process_count[lopt] += 1
global_process_count[lopt] += 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论