From f6017840829daa1cb8025ce0c43f30a2e2e37a09 Mon Sep 17 00:00:00 2001 From: Colm Talbot <colm.talbot@ligo.org> Date: Thu, 2 Mar 2023 20:02:10 +0000 Subject: [PATCH] TEST: bugfix in dynesty test --- test/core/sampler/dynesty_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/core/sampler/dynesty_test.py b/test/core/sampler/dynesty_test.py index fdd1edcff..0abb6907a 100644 --- a/test/core/sampler/dynesty_test.py +++ b/test/core/sampler/dynesty_test.py @@ -242,6 +242,7 @@ class TestEstimateNMCMC(unittest.TestCase): safety * (2 / accept_ratio - 1) """ sampler = dynesty_utils.AcceptanceTrackingRWalk() + dynesty_utils.AcceptanceTrackingRWalk.old_act = None for _ in range(10): accept_ratio = np.random.uniform() safety = np.random.randint(2, 8) -- GitLab