Skip to content

Commit

Permalink
Update xgi/generators/random.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maxime Lucas <[email protected]>
  • Loading branch information
nwlandry and maximelucas authored Oct 16, 2024
1 parent 57c1a29 commit 756277f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xgi/generators/random.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def random_hypergraph(n, ps, order=None, seed=None):
Number of nodes
ps : list of float, or float
List of probabilities (between 0 and 1) to create a
hyperedge at each order d between any d+1 nodes. For example,
hyperedge at each order d between any d+1 nodes (when `order` is None). For example,
ps[0] is the wiring probability of any edge (2 nodes), ps[1]
of any triangles (3 nodes). If a float, generate a uniform hypergraph
(in this case, order must be specified)
Expand Down

0 comments on commit 756277f

Please sign in to comment.