Skip to content

Commit c247adc

Browse files
fix
1 parent ae3c7ca commit c247adc

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
@@ -1028,6 +1028,7 @@ def find_and_process_best_optimization(
10281028
if candidates is None:
10291029
continue
10301030

1031+
self.valid_optimizations = [] # reset for each experiment
10311032
best_optimization = self.determine_best_candidate(
10321033
candidates=candidates,
10331034
code_context=code_context,

0 commit comments

Comments
 (0)