Skip to content

Commit 8d9f292

Browse files
committed
print while generating
1 parent bc8f55c commit 8d9f292

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

eval.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ def main():
105105
# 4: 16473 of 3921225
106106
# 5: of 1488847536
107107

108-
gen_patterns = list(pattern_generator(length))
109-
for n, (i, pattern) in enumerate(gen_patterns):
108+
gen_patterns = []
109+
for n, (i, pattern) in enumerate(pattern_generator(length)):
110110
print('%d: Pattern id %d: %s' % (n, i, pattern))
111+
gen_patterns.append((i, pattern))
111112
patterns = set(gp for pid, gp in gen_patterns[:-1])
112113

113114
# testing flipped edges

0 commit comments

Comments
 (0)