From 756277fd20624b8a857b3774ae6befd44f8d52bd Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Wed, 16 Oct 2024 07:44:09 -0400 Subject: [PATCH] Update xgi/generators/random.py Co-authored-by: Maxime Lucas --- xgi/generators/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xgi/generators/random.py b/xgi/generators/random.py index bf81cfa6..66a0f0be 100644 --- a/xgi/generators/random.py +++ b/xgi/generators/random.py @@ -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)