Skip to content

Commit

Permalink
clean2
Browse files Browse the repository at this point in the history
  • Loading branch information
ethteck committed Mar 19, 2023
1 parent a957c4b commit aa6389f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,9 +414,8 @@ def run_inner(options: Options, heartbeat: Callable[[], None]) -> List[int]:
permuter = context.permuters[permuter_index]
result = permuter.try_eval_candidate(seed)
new_permuter, found_zero = post_score(context, permuter, result, None)
if found_zero:
if options.stop_on_zero:
break
if found_zero and options.stop_on_zero:
break
if new_permuter:
print("Adding new permuter")
context.permuters.append(new_permuter)
Expand Down

0 comments on commit aa6389f

Please sign in to comment.