Commit 08f31ba5 authored by Colm Talbot's avatar Colm Talbot

update nestle test to include new argument

parent 36461154
Pipeline #70846 passed with stage
in 6 minutes and 36 seconds
......@@ -240,14 +240,14 @@ class TestNestle(unittest.TestCase):
expected = dict(verbose=False, method='multi', npoints=500,
update_interval=None, npdim=None, maxiter=None,
maxcall=None, dlogz=None, decline_factor=None,
rstate=None, callback=None)
rstate=None, callback=None, steps=20, enlarge=1.2)
self.assertDictEqual(expected, self.sampler.kwargs)
def test_translate_kwargs(self):
expected = dict(verbose=False, method='multi', npoints=345,
update_interval=None, npdim=None, maxiter=None,
maxcall=None, dlogz=None, decline_factor=None,
rstate=None, callback=None)
rstate=None, callback=None, steps=20, enlarge=1.2)
self.sampler.kwargs['npoints'] = 123
for equiv in bilby.core.sampler.base_sampler.NestedSampler.npoints_equiv_kwargs:
new_kwargs = self.sampler.kwargs.copy()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment