Fixed bug in connectedness check.

master
Daniel Perelman 5 years ago
parent dcb6ba0d77
commit 6434c785fd

@ -110,7 +110,7 @@ class Crossword(object):
if target != x:
merge_components(target, components[y][0])
else:
for other in components[y]:
for other in list(components[y]):
target_list.append(other)
components[other] = target_list

Loading…
Cancel
Save