From c1452e8cd568f6df4169eba854a571a3bcd6618c Mon Sep 17 00:00:00 2001 From: gilcu3 <828241+gilcu3@users.noreply.github.com> Date: Sun, 12 May 2024 20:18:49 +0200 Subject: [PATCH] missing verbose flag fix --- discretelog/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discretelog/common.py b/discretelog/common.py index 61dc02e..8a15ca3 100644 --- a/discretelog/common.py +++ b/discretelog/common.py @@ -103,7 +103,7 @@ def factor(n, DEBUG=False): else: ps = [] try: - for p in primefac(n, verbose=True, trial=10**4, rho=2 * 10**5, + for p in primefac(n, trial=10**4, rho=2 * 10**5, methods=tuple(), verbose=DEBUG): if isprime(p): n //= p