Skip to content
Snippets Groups Projects
Commit 3bd9e531 authored by Colm Talbot's avatar Colm Talbot
Browse files

FORMAT: fix formatting issues

parent 78a23a7a
No related branches found
No related tags found
No related merge requests found
......@@ -472,8 +472,8 @@ class Dynesty(NestedSampler):
f"{self.nact} with maximum length {self.nact * self.maxmcmc}"
)
from .dynesty_utils import ACTTrackingRWalk
ACTTrackingRWalk._cache = list()
ACTTrackingRWalk._cache = list()
dynesty.nestedsamplers._SAMPLING["act-walk"] = ACTTrackingRWalk()
elif sample == "rwalk_dynesty":
sample = sample.strip("_dynesty")
......
......@@ -180,6 +180,7 @@ class ACTTrackingRWalk:
parallelised sampling as the length of the MCMC will be different for each
parallel process.
"""
# the _cache is a class level variable to avoid being forgotten at every
# iteration when using multiprocessing
self._cache = list()
......
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