Skip to content

Commit a79ce1d

Browse files
committed
fix
1 parent 5d95967 commit a79ce1d

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
@@ -960,7 +960,7 @@ def run_optimized_candidate(
960960
get_run_tmp_file(Path(f"test_return_values_{optimization_candidate_index}.sqlite")).unlink(missing_ok=True)
961961

962962
# Instrument codeflash capture
963-
candidate_fto_code = Path(function_to_optimize.file_path).read_text("utf-8")
963+
candidate_fto_code = Path(self.function_to_optimize.file_path).read_text("utf-8")
964964
candidate_helper_code = {}
965965
for module_abspath in original_helper_code:
966966
candidate_helper_code[module_abspath] = Path(module_abspath).read_text("utf-8")

0 commit comments

Comments
 (0)