Skip to content

Commit fa36a83

Browse files
committed
typo
1 parent a315a06 commit fa36a83

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

test/test_graclus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def assert_correct_graclus(row, col, cluster):
4141

4242

4343
@pytest.mark.parametrize('test,dtype,device', product(tests, dtypes, devices))
44-
def test_graclus_cluster_cpu(test, dtype, device):
44+
def test_graclus_cluster(test, dtype, device):
4545
row = tensor(test['row'], torch.long, device)
4646
col = tensor(test['col'], torch.long, device)
4747
weight = tensor(test.get('weight'), dtype, device)

test/test_grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828

2929
@pytest.mark.parametrize('test,dtype,device', product(tests, dtypes, devices))
30-
def test_grid_cluster_cpu(test, dtype, device):
30+
def test_grid_cluster(test, dtype, device):
3131
pos = tensor(test['pos'], dtype, device)
3232
size = tensor(test['size'], dtype, device)
3333
start = tensor(test.get('start'), dtype, device)

test/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
dtypes.remove(torch.half)
66

77
devices = [torch.device('cpu')]
8-
98
if torch.cuda.is_available():
109
devices += [torch.device('cuda:{}'.format(torch.cuda.current_device()))]
1110

0 commit comments

Comments
 (0)