From 71b897f9395dea85bac449f81aaec866694ae1b0 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 24 Nov 2024 18:42:53 -0500 Subject: [PATCH] fix iterations --- benchmarks/generators.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmarks/generators.py b/benchmarks/generators.py index d38150d6..58f8f106 100644 --- a/benchmarks/generators.py +++ b/benchmarks/generators.py @@ -1,6 +1,7 @@ import xgi rounds = 10 +iterations = 1 def test_erdos_renyi(benchmark): @@ -8,4 +9,4 @@ def test_erdos_renyi(benchmark): def erdos_renyi(): xgi.fast_random_hypergraph(100, [0.1, 0.001]) - benchmark.pedantic(erdos_renyi, rounds=rounds) + benchmark.pedantic(erdos_renyi, rounds=rounds, iterations=1)