Skip to content
Snippets Groups Projects
Commit 79c9fa0b authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Made the non-deterministic test more robust

parent 5b1bb015
No related branches found
No related tags found
No related merge requests found
......@@ -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__':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment