Add missing <algorithm> header to jit_compiler.cpp (#2460)

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 14:00:46 -07:00 committed by GitHub
parent aaf78f4c6b
commit 737dd6d1ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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