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

Made the test less random and by increasing the allowed margin of error.

parent 198cef42
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