Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rusty1s committed Mar 18, 2023
1 parent c6f63c8 commit a58ba76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_geometric/utils/spmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def spmm(src: Adj, other: Tensor, reduce: str = "sum") -> Tensor:
if reduce == 'sum':
return torch.sparse.mm(src, other)

# Use the default reduce code path for (works on CPU):
# Use the default code path with custom reduction (works on CPU):
if src.layout == torch.sparse_csr and not src.is_cuda:
return torch.sparse.mm(src, other, reduce)

Expand Down

0 comments on commit a58ba76

Please sign in to comment.