Skip to content

Commit 1783617

Browse files
authored
Revert "Fix incorrect inequality in watts_strogatz documentation (#175)" (#176)
This reverts commit c619e77.
1 parent 0bb6f07 commit 1783617

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
@@ -257,7 +257,7 @@ where each vertex has exacly `div(k, 2)` neighbors on each side (i.e., `k` or
257257
1. Consider each vertex `s` in turn, along with the edge to its `i`th nearest
258258
neighbor `t`, in a clockwise sense.
259259
260-
2. Generate a uniformly random number `r`. If `r < β`, then the edge `(s, t)` is
260+
2. Generate a uniformly random number `r`. If `r β`, then the edge `(s, t)` is
261261
left unaltered. Otherwise, the edge is deleted and *rewired* so that `s` is
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.)

0 commit comments

Comments
 (0)