Skip to content

Commit a9d4d46

Browse files
committed
typo
1 parent 26fa1b3 commit a9d4d46

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

torch_sparse/metis.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ def weight2metis(weight: torch.Tensor) -> Optional[torch.Tensor]:
1919
return weight_ratio.to(torch.long)
2020

2121

22-
def partition(src: SparseTensor, num_parts: int, recursive: bool = False,
23-
weighted=False
24-
) -> Tuple[SparseTensor, torch.Tensor, torch.Tensor]:
22+
def partition(
23+
src: SparseTensor, num_parts: int, recursive: bool = False,
24+
weighted: bool = False
25+
) -> Tuple[SparseTensor, torch.Tensor, torch.Tensor]:
2526

2627
assert num_parts >= 1
2728
if num_parts == 1:

0 commit comments

Comments
 (0)