From bd127995b3fb8d5102daf9e6d6dad8dc2e576ff6 Mon Sep 17 00:00:00 2001 From: Moritz Huebner <email@moritz-huebner.de> Date: Fri, 1 Jun 2018 16:00:09 +1000 Subject: [PATCH] Made the test less random and by increasing the allowed margin of error. --- test/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests.py b/test/tests.py index fabe4559b..7778610fa 100644 --- a/test/tests.py +++ b/test/tests.py @@ -60,7 +60,7 @@ class Test(unittest.TestCase): result = tupak.sampler.run_sampler( likelihood, priors, sampler='nestle', verbose=False, npoints=100) self.assertAlmostEqual(np.mean(result.samples), dL, - delta=np.std(result.samples)) + delta=3*np.std(result.samples)) if __name__ == '__main__': -- GitLab