From 488537e80bb92567493c402c6b216dbf8c6ca1e9 Mon Sep 17 00:00:00 2001 From: Angelos Katharopoulos Date: Tue, 13 May 2025 15:50:16 -0700 Subject: [PATCH] Fix the linker errors --- mlx/random.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlx/random.h b/mlx/random.h index 183e1b55b..0dfdab7a1 100644 --- a/mlx/random.h +++ b/mlx/random.h @@ -100,7 +100,7 @@ array normal( const std::optional& scale, const std::optional& key, StreamOrDevice s = {}); -array normal( +inline array normal( const Shape& shape, Dtype dtype, const float loc,