Fix typo in randint docstring (#1932)

This commit fixes a typo in the docstring for mlx.core.random.randint() by changing "roadcastable" to "broadcastable".
This commit is contained in:
David Wisdom
2025-03-05 21:48:00 -08:00
committed by GitHub
parent 85b34d59bc
commit 392b3060b0

View File

@@ -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.