Skip to content
Snippets Groups Projects
Commit 297c395c authored by Moritz Huebner's avatar Moritz Huebner
Browse files

Merge branch 'fix-multinest-periodic' into 'master'

Fix MultiNest periodic keys

See merge request !927
parents 309158d6 f41c362e
No related branches found
No related tags found
1 merge request!927Fix MultiNest periodic keys
Pipeline #202497 passed
......@@ -129,9 +129,9 @@ class Pymultinest(NestedSampler):
def _apply_multinest_boundaries(self):
if self.kwargs["wrapped_params"] is None:
self.kwargs["wrapped_params"] = []
for param, value in self.priors.items():
if value.boundary == "periodic":
self.kwargs["wrapped_params"] = list()
for param in self.search_parameter_keys:
if self.priors[param].boundary == "periodic":
self.kwargs["wrapped_params"].append(1)
else:
self.kwargs["wrapped_params"].append(0)
......
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