Add missing <algorithm> header to jit_compiler.cpp

Fixes compilation error on Linux where std::find_if is used on line 121
but the <algorithm> header was not included. While this might work on
some platforms due to transitive includes, it's not guaranteed by the
C++ standard.

Resolves issue #2459
This commit is contained in:
Zamderax
2025-08-04 11:35:54 -07:00
parent aaf78f4c6b
commit 372bffcf1b

View File

@@ -2,6 +2,7 @@
#include "mlx/backend/cpu/jit_compiler.h"
#include <algorithm>
#include <sstream>
#include <vector>