Skip to content

Commit e63d39f

Browse files
typo
1 parent 15b72b1 commit e63d39f

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
@@ -817,6 +817,7 @@ def determine_best_candidate(
817817
source_code=self.ast_code_to_id[valid_opt_normalized_code]["shorter_source_code"],
818818
optimization_id=valid_opt.candidate.optimization_id,
819819
explanation=valid_opt.candidate.explanation,
820+
source=valid_opt.candidate.source,
820821
)
821822
new_best_opt = BestOptimization(
822823
candidate=new_candidate_with_shorter_code,

0 commit comments

Comments
 (0)