Skip to content

Commit 2b40e4b

Browse files
KRRT7claude[bot]
andauthored
Update codeflash/optimization/optimizer.py
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
1 parent a55841b commit 2b40e4b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeflash/optimization/optimizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ def create_function_optimizer(
285285
replay_tests_dir=self.replay_tests_dir,
286286
call_graph=call_graph,
287287
)
288-
if function_optimizer.function_to_optimize_ast is None:
288+
if function_optimizer.function_to_optimize_ast is None and is_python():
289289
logger.info(
290290
f"Function {function_to_optimize.qualified_name} not found in "
291291
f"{function_to_optimize.file_path}.\nSkipping optimization."

0 commit comments

Comments
 (0)