From 392b3060b0c685393aa4343631cc7508ad41fa70 Mon Sep 17 00:00:00 2001 From: David Wisdom <2480711+dwisdom0@users.noreply.github.com> Date: Wed, 5 Mar 2025 21:48:00 -0800 Subject: [PATCH] Fix typo in randint docstring (#1932) This commit fixes a typo in the docstring for mlx.core.random.randint() by changing "roadcastable" to "broadcastable". --- python/src/random.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/random.cpp b/python/src/random.cpp index 49f3220cb..4b82f5479 100644 --- a/python/src/random.cpp +++ b/python/src/random.cpp @@ -253,7 +253,7 @@ void init_random(nb::module_& parent_module) { The values are sampled with equal probability from the integers in half-open interval ``[low, high)``. The lower and upper bound can be - scalars or arrays and must be roadcastable to ``shape``. + scalars or arrays and must be broadcastable to ``shape``. Args: low (scalar or array): Lower bound of the interval.