Skip to content

Commit 151e572

Browse files
pass the iteration index
1 parent c9e1483 commit 151e572

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
@@ -2072,7 +2072,7 @@ def line_profiler_step(
20722072
testing_type=TestingMode.LINE_PROFILE,
20732073
test_env=test_env,
20742074
test_files=self.test_files,
2075-
optimization_iteration=0,
2075+
optimization_iteration=candidate_index,
20762076
testing_time=TOTAL_LOOPING_TIME_EFFECTIVE,
20772077
enable_coverage=False,
20782078
code_context=code_context,

0 commit comments

Comments
 (0)