Skip to content

Commit 3e300fc

Browse files
committed
fix a thing i missed
1 parent 14409f7 commit 3e300fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/optimization/function_optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def determine_best_candidate(
414414
code_print(candidate.source_code)
415415
try:
416416
did_update = self.replace_function_and_helpers_with_optimized_code(
417-
code_context=code_context, optimized_code=candidate.source_code
417+
code_context=code_context, optimized_code=candidate.source_code, original_helper_code=original_helper_code,
418418
)
419419
if not did_update:
420420
logger.warning(

0 commit comments

Comments
 (0)