Commit 2512a051 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Remove unused statement

parent d0515a68
...@@ -206,13 +206,11 @@ class State: ...@@ -206,13 +206,11 @@ class State:
colors = {} colors = {}
groups = {} groups = {}
groupsizes = {}
for groupid, (block, group) in enumerate(self.find_groups(depth, 1)): for groupid, (block, group) in enumerate(self.find_groups(depth, 1)):
colors.setdefault(block, []).extend(group) colors.setdefault(block, []).extend(group)
for i in group: for i in group:
groups[i] = groupid groups[i] = groupid
groupsizes[i] = len(group)
return sum(dist(i, j) return sum(dist(i, j)
for block, color in colors.items() for block, color in colors.items()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment