Commit 0bb45a59 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Bugfix: actually initialize groupsizes

parent 295d52f2
...@@ -427,6 +427,7 @@ def get_groups(blocks): ...@@ -427,6 +427,7 @@ def get_groups(blocks):
group = tuple(scan_group(blocks, i, block, visited)) group = tuple(scan_group(blocks, i, block, visited))
for j in group: for j in group:
groups[j] = groupid groups[j] = groupid
groupsizes[j] = len(group)
return groups, groupsizes, groupid return groups, groupsizes, groupid
......
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