Skip to content

Commit 9371210

Browse files
committed
Documentation minors.
1 parent 67a7314 commit 9371210

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/main/create_graph.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,10 +253,8 @@ Creates a triangular graph structure with width `w` and height `h`
253253
horizontal and along the two diagonals)
254254
255255
# Arguments
256-
- `w`: Width of graph (i.e. the max number of nodes along horizontal dimension),
257-
must be an integer
258-
- `h`: Height of graph (i.e. the max number of nodes along vertical dimension),
259-
must be an odd integer
256+
- `w`: Width of graph (i.e. the max number of nodes along horizontal dimension), must be an integer
257+
- `h`: Height of graph (i.e. the max number of nodes along vertical dimension), must be an odd integer
260258
"""
261259
function create_triangle(w, h)
262260
if h % 2 == 0
@@ -361,10 +359,8 @@ with width w and height h (nodes have 4 neighbors in total, along
361359
horizontal and vertical dimensions, NOT diagonals)
362360
363361
# Arguments
364-
- `w`: width of graph (ie. the number of nodes along horizontal
365-
dimension), must be an integer
366-
- `h`: height of graph (ie. the number of nodes along vertical
367-
dimension), must be an integer
362+
- `w`: width of graph (ie. the number of nodes along horizontal dimension), must be an integer
363+
- `h`: height of graph (ie. the number of nodes along vertical dimension), must be an integer
368364
"""
369365
function create_square(w, h)
370366
J = w * h

0 commit comments

Comments
 (0)