Skip to content

Commit

Permalink
fixed test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesulf committed Nov 19, 2024
1 parent ce29120 commit 2a4b418
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from dask.distributed import Client

from nautilus import Sampler
from nautilus.pool import NautilusPool


def prior(x):
Expand Down Expand Up @@ -36,7 +35,7 @@ def test_pool(pool):
pool = Pool(n_jobs)
else:
pool = Client()
n_jobs = NautilusPool(pool).size
n_jobs = len(pool.nthreads())

sampler = Sampler(prior, likelihood, n_dim=2, n_live=50, n_networks=1,
pool=pool)
Expand Down

0 comments on commit 2a4b418

Please sign in to comment.