Merge pull request #15283 from JiaYaobo:fix_wald_doc

PiperOrigin-RevId: 520364879
This commit is contained in:
jax authors 2023-03-29 10:01:27 -07:00
commit cfa330b6fa

View File

@ -2069,7 +2069,7 @@ def wald(key: KeyArray,
Returns:
A random array with the specified dtype and with shape given by ``shape`` if
``shape`` is not None, or else by ``mean.shape`` and ``scale.shape``.
``shape`` is not None, or else by ``mean.shape``.
"""
key, _ = _check_prng_key(key)
if not dtypes.issubdtype(dtype, np.floating):