Skip to content

Commit e7d10a2

Browse files
Merge pull request #27041 from carlosgmartin:fix_binomial_value_error
PiperOrigin-RevId: 736171463
2 parents abcc7fd + 8b6ca56 commit e7d10a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jax/_src/random.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2646,7 +2646,7 @@ def binomial(
26462646
dtypes.check_user_dtype_supported(dtype)
26472647
if not dtypes.issubdtype(dtype, np.floating):
26482648
raise ValueError(
2649-
"dtype argument to `binomial` must be a float dtype, got {dtype}"
2649+
f"dtype argument to `binomial` must be a float dtype, got {dtype}"
26502650
)
26512651
dtype = dtypes.canonicalize_dtype(dtype)
26522652
if shape is not None:

0 commit comments

Comments
 (0)