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,