Skip to content

Commit e289129

Browse files
Update src/GNNGraphs/generate.jl
1 parent 0ab69ea commit e289129

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GNNGraphs/generate.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ to its neighbors within a given distance `r`.
145145
- `r`: The radius.
146146
- `graph_indicator`: Either nothing or a vector containing the graph assigment of each node,
147147
in which case the returned graph will be a batch of graphs.
148-
- `self_loops`: If `true`, consider the node itself among its `k` nearest neighbors, in which
148+
- `self_loops`: If `true`, consider the node itself among its neighbors, in which
149149
case the graph will contain self-loops.
150150
- `dir`: The direction of the edges. If `dir=:in` edges go from the `k`
151151
neighbors to the central node. If `dir=:out` we have the opposite

0 commit comments

Comments
 (0)