Skip to content

Commit

Permalink
Updates for Pylint 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmuss committed Feb 23, 2021
1 parent 5bc6ff6 commit e9b359a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nengo_dl/graph_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,8 @@ def order_signals(plan, n_passes=10):
logger.debug(sig_idxs)

if all(
[x == y for ops in plan for x, y in zip(new_plan[ops], prev_plan[ops])]
) and all([sig_idxs[s] == prev_sig_idxs[s] for s in all_signals]):
x == y for ops in plan for x, y in zip(new_plan[ops], prev_plan[ops])
) and all(sig_idxs[s] == prev_sig_idxs[s] for s in all_signals):
# if the plan didn't change and the signals didn't change, then
# there is no point in continuing (they're not going to change
# in the future)
Expand Down

0 comments on commit e9b359a

Please sign in to comment.