Skip to content

Commit 6630199

Browse files
committed
Merge commit 'a1a164b0' into develop
2 parents 24fee95 + a1a164b commit 6630199

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/_igraph/graphobject.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14752,21 +14752,19 @@ struct PyMethodDef igraphmodule_Graph_methods[] = {
1475214752
METH_VARARGS | METH_CLASS | METH_KEYWORDS,
1475314753
"SBM(n, pref_matrix, block_sizes, directed=False, loops=False)\n--\n\n"
1475414754
"Generates a graph based on a stochastic block model.\n\n"
14755-
"A given number of vertices are generated. Every vertex is assigned to a\n"
14756-
"vertex type according to the given block sizes. Vertices of the same\n"
14755+
"Every vertex is assigned to a vertex type according to the given block\n"
14756+
"sizes, which also determine the total vertex count. Vertices of the same\n"
1475714757
"type will be assigned consecutive vertex IDs. Finally, every\n"
1475814758
"vertex pair is evaluated and an edge is created between them with a\n"
1475914759
"probability depending on the types of the vertices involved. The\n"
1476014760
"probabilities are taken from the preference matrix.\n\n"
14761-
"@param pref_matrix: matrix giving the connection probabilities for\n"
14762-
" different vertex types (when C{multiple} = C{False}) or the expected\n"
14763-
" number of edges between a vertex pair (when C{multiple} = C{True}).\n"
14761+
"@param pref_matrix: matrix giving the connection probabilities (or expected\n"
14762+
" edge multiplicities for multigraphs) between different vertex types.\n"
1476414763
"@param block_sizes: list giving the number of vertices in each block; must\n"
1476514764
" sum up to I{n}.\n"
1476614765
"@param directed: whether to generate a directed graph.\n"
1476714766
"@param loops: whether loop edges are allowed.\n"
14768-
"@param multiple: whether multiple edges are allowed.\n"
14769-
},
14767+
"@param multiple: whether multi-edges are allowed.\n"},
1477014768

1477114769
// interface to igraph_star
1477214770
{"Star", (PyCFunction) igraphmodule_Graph_Star,

0 commit comments

Comments
 (0)