From 92b6dc195b37fe89a00e0bf5c0cd49551f1a12de Mon Sep 17 00:00:00 2001 From: gilcu3 <828241+gilcu3@users.noreply.github.com> Date: Sun, 12 May 2024 20:15:37 +0200 Subject: [PATCH] small bug fix --- discretelog/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discretelog/utils.py b/discretelog/utils.py index 365dc26..45c701d 100644 --- a/discretelog/utils.py +++ b/discretelog/utils.py @@ -89,7 +89,7 @@ def parallel_for_balanced(f, params, prange, cores=None, DEBUG=False): if c is not None: j, resj = c res[j] = resj - if pb: + if DEBUG: pb.update(1) else: ended += 1