Skip to content

Commit a012e64

Browse files
authored
Update generate.jl
fix typo
1 parent 7eeed39 commit a012e64

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/GNNGraphs/generate.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ to its `k` closest `points`.
6868
- `dir`: The direction of the edges. If `dir=:in` edges go from the `k`
6969
neighbors to the central node. If `dir=:out` we have the opposite
7070
direction.
71-
- `kws`: Further keyword arguments will be passed to the [`GNNGraph ](@ref) constructor.
71+
- `kws`: Further keyword arguments will be passed to the [`GNNGraph`](@ref) constructor.
7272
7373
# Examples
7474
@@ -130,11 +130,11 @@ end
130130

131131
"""
132132
radius_graph(points::AbstractMatrix,
133-
r::AbstractFloat;
134-
graph_indicator = nothing,
135-
self_loops = false,
136-
dir = :in,
137-
kws...)
133+
r::AbstractFloat;
134+
graph_indicator = nothing,
135+
self_loops = false,
136+
dir = :in,
137+
kws...)
138138
139139
Create a graph where each node is linked
140140
to its neighbors within a given distance `r`.
@@ -150,7 +150,7 @@ to its neighbors within a given distance `r`.
150150
- `dir`: The direction of the edges. If `dir=:in` edges go from the
151151
neighbors to the central node. If `dir=:out` we have the opposite
152152
direction.
153-
- `kws`: Further keyword arguments will be passed to the [`GNNGraph ](@ref) constructor.
153+
- `kws`: Further keyword arguments will be passed to the [`GNNGraph`](@ref) constructor.
154154
155155
# Examples
156156

0 commit comments

Comments
 (0)