Skip to content

Commit 7f3bcea

Browse files
authored
Merge branch 'main' into opt-candidate-loop
2 parents 1d5c2f9 + b13f218 commit 7f3bcea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,7 @@ def find_and_process_best_optimization(
10341034
if candidates is None:
10351035
continue
10361036

1037+
self.valid_optimizations = [] # reset for each experiment
10371038
best_optimization = self.determine_best_candidate(
10381039
candidates=candidates,
10391040
code_context=code_context,

0 commit comments

Comments
 (0)