decrease creation limit

This commit is contained in:
Jonas Weinz 2021-06-24 15:59:53 +02:00
parent 5ebac219a5
commit 9c97b8fb58

View File

@ -321,9 +321,9 @@ def create_word_grid(w: int, h: int, lang_code: str = "en", target_density=0.5):
crossover = get_crossover(normalized_word)
i += 1
if i % 100000 == 0:
if i % 1000 == 0:
print(i)
if i > 100000:
if i > 1200:
break
if crossover == None: