Skip to content

Commit

Permalink
completely rename to .method to .sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed Feb 18, 2024
1 parent bdb364a commit 244c65d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py/dynesty/dynamicsampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ def _configure_batch_sampler(main_sampler,
main_sampler.ndim,
main_sampler.live_init, # this is not used at all
# as we replace the starting points
main_sampler.method,
main_sampler.sampling,
main_sampler.bounding,
update_interval,
main_sampler.first_update,
Expand Down Expand Up @@ -916,7 +916,7 @@ def __init__(self, loglikelihood, prior_transform, ndim, bound, method,
self.blob = kwargs.get('blob') or False
# bounding/sampling
self.bounding = bound
self.method = method
self.sampling = method
self.update_interval_ratio = update_interval_ratio
self.first_update = first_update

Expand Down Expand Up @@ -1310,7 +1310,7 @@ def sample_initial(self,
self.prior_transform,
self.ndim,
self.live_init,
self.method,
self.sampling,
bounding,
update_interval,
first_update,
Expand Down

0 comments on commit 244c65d

Please sign in to comment.