Skip to content

Commit 9238fe5

Browse files
committed
int to float
1 parent 3cb5a2d commit 9238fe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/api/aiservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ def get_new_explanation( # noqa: D417
354354
return ""
355355

356356
def generate_ranking( # noqa: D417
357-
self, trace_id: str, diffs: list[str], optimization_ids: list[str], speedups: list[int]
357+
self, trace_id: str, diffs: list[str], optimization_ids: list[str], speedups: list[float]
358358
) -> list[int] | None:
359359
"""Optimize the given python code for performance by making a request to the Django endpoint.
360360

0 commit comments

Comments
 (0)