Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
king-p3nguin committed Apr 9, 2024
1 parent 5c0c768 commit 3a74830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorcircuit/backends/jax_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ def is_sparse(self, a: Tensor) -> bool:
return isinstance(a, sparse.BCOO) # type: ignore

def device(self, a: Tensor) -> str:
dev = a.devices()
(dev,) = a.devices()
return self._dev2str(dev)

def device_move(self, a: Tensor, dev: Any) -> Tensor:
Expand Down

0 comments on commit 3a74830

Please sign in to comment.