Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Feb 17, 2019
1 parent e3a5578 commit fb6c452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/blockwise.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ def _optimize_blockwise(full_graph, keys=()):
if layers[dep].concatenate != layers[layer].concatenate:
stack.append(dep)
continue
if sum(k == dep for k, _ in layers[layer].indices) > 1:
if sum(k == dep for k, ind in layers[layer].indices if ind is not None) > 1:
stack.append(dep)
continue

Expand Down

0 comments on commit fb6c452

Please sign in to comment.