@@ -90,8 +90,8 @@ class Pool:
9090 To use the dynesty pool you have to use it with the context manager::
9191
9292 with dynesty.pool.Pool(16, loglike, prior_transform) as pool:
93- dns = DynamicNestedSampler(pool.loglike, pool.prior_transform, ndim,
94- pool=pool)
93+ dns = DynamicNestedSampler(pool.loglike, pool.prior_transform,
94+ ndim, pool=pool)
9595
9696 Also note that you have to provide the .loglike/.prior_transform attributes
9797 from the pool object to the Nested samper rather than your original
@@ -100,14 +100,14 @@ class Pool:
100100 If your likelihood function takes additional arguments, it is better to
101101 pass them when creating the pool, rather then to nested sampler::
102102
103- with dynesty.pool.Pool(16, loglike, prior_transform,
103+ with dynesty.pool.Pool(16, loglike, prior_transform,
104104 logl_args=(...) ) as pool:
105- dns = DynamicNestedSampler(pool.loglike, pool.prior_transform, ndim,
106- pool=pool)
105+ dns = DynamicNestedSampler(pool.loglike, pool.prior_transform,
106+ ndim, pool=pool)
107107
108108 as this way they will not need to be pickled and unpickled every function
109109 call.
110-
110+
111111 Note though that if you specify logl_args, and ptform_args when creating
112112 the Pool *AND* in the sampler those will be concatenated
113113 """
0 commit comments