Skip to content

Commit 61c2a66

Browse files
fix typo in description of watts_strogatz(n, k, β) (#169)
effect of β is the other way round
1 parent 237d345 commit 61c2a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleGraphs/generators/randgraphs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ where each vertex has exacly `div(k, 2)` neighbors on each side (i.e., `k` or
262262
connected to some vertex `d`, chosen uniformly at random from the entire
263263
graph, excluding `s` and its neighbors. (Note that `t` is a valid candidate.)
264264
265-
For `β = 1`, the graph will remain a 1-lattice, and for `β = 0`, all edges will
265+
For `β = 0`, the graph will remain a 1-lattice, and for `β = 1`, all edges will
266266
be rewired randomly.
267267
268268
### Optional Arguments

0 commit comments

Comments
 (0)