Skip to content

Commit 096cec7

Browse files
committed
fix typo
1 parent 1419f08 commit 096cec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ def to_device(x: Array, device: Device, /, *, stream: Optional[Union[int, Any]]
620620
if not hasattr(x, "__array_namespace__"):
621621
# In JAX v0.4.31 and older, this import adds to_device method to x.
622622
import jax.experimental.array_api # noqa: F401
623-
return x.to_device(device, stream=stream)
623+
return x.to_device(device, stream=stream)
624624
elif is_pydata_sparse_array(x) and device == _device(x):
625625
# Perform trivial check to return the same array if
626626
# device is same instead of err-ing.

0 commit comments

Comments
 (0)