Skip to content

Commit 8e0bd4a

Browse files
authored
Update ext.py
1 parent d60df4b commit 8e0bd4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch_scatter/utils/ext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77

88
def get_func(name, tensor):
9-
scatter = scatter_cuda if tensor.is_cuda else scatter_cpu
10-
return getattr(scatter, name)
9+
module = scatter_cuda if tensor.is_cuda else scatter_cpu
10+
return getattr(module, name)

0 commit comments

Comments
 (0)