Skip to content

Commit a4355be

Browse files
committed
typo
1 parent 6325450 commit a4355be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

torch_scatter/div.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def scatter_div(src, index, dim=-1, out=None, dim_size=None, fill_value=1):
6262
If :attr:`dim_size` is not given, a minimal sized output tensor is
6363
returned. (default: :obj:`None`)
6464
fill_value (int, optional): If :attr:`out` is not given, automatically
65-
fill output tensor with :attr:`fill_value`. (default: :obj:`0`)
65+
fill output tensor with :attr:`fill_value`. (default: :obj:`1`)
6666
6767
:rtype: :class:`Tensor`
6868

torch_scatter/mul.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def scatter_mul(src, index, dim=-1, out=None, dim_size=None, fill_value=1):
6161
If :attr:`dim_size` is not given, a minimal sized output tensor is
6262
returned. (default: :obj:`None`)
6363
fill_value (int, optional): If :attr:`out` is not given, automatically
64-
fill output tensor with :attr:`fill_value`. (default: :obj:`0`)
64+
fill output tensor with :attr:`fill_value`. (default: :obj:`1`)
6565
6666
:rtype: :class:`Tensor`
6767

0 commit comments

Comments
 (0)