Skip to content

Commit 3dbd228

Browse files
committed
typo
1 parent ec7c59f commit 3dbd228

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch_sparse/tensor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ def to_torch_sparse_coo_tensor(
435435

436436
def share_memory_(self: SparseTensor) -> SparseTensor:
437437
self.storage.share_memory_()
438+
return self
438439

439440

440441
def is_shared(self: SparseTensor) -> bool:

0 commit comments

Comments
 (0)