Skip to content

Commit fed36b1

Browse files
committed
argument order
1 parent cd250a6 commit fed36b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch_cluster/functions/grid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from .utils import get_func, consecutive
44

55

6-
def grid_cluster(position, size, batch=None, fake_nodes=False, offset=None):
6+
def grid_cluster(position, size, batch=None, offset=None, fake_nodes=False):
77
# Allow one-dimensional positions.
88
if position.dim() == 1:
99
position = position.unsqueeze(-1)

0 commit comments

Comments
 (0)