mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
Fix error message string interpolation
This commit is contained in:
parent
7e040c0a89
commit
074abba682
@ -2568,7 +2568,7 @@ def _broadcast_to_pairs(nvals, nd, name):
|
||||
return tuple((nvals.flat[0], nvals.flat[0]) for i in range(nd))
|
||||
else:
|
||||
raise ValueError(f"{name} given unexpected structure: {nvals}. "
|
||||
"See docstring for valid {name} formats.")
|
||||
f"See docstring for valid {name} formats.")
|
||||
|
||||
|
||||
@partial(jit, static_argnums=(1, 2, 4, 5, 6))
|
||||
|
Loading…
x
Reference in New Issue
Block a user