Skip to content
Snippets Groups Projects
Commit 1c9db8ef authored by Moritz's avatar Moritz
Browse files

Fixed an issue during timing

parent ac8380e1
No related branches found
No related tags found
1 merge request!332Resolve "Introduce conditional prior sets"
Pipeline #90954 passed
......@@ -310,7 +310,7 @@ class Sampler(object):
for _ in range(n_evaluations):
if isinstance(self.priors, ConditionalPriorDict):
theta = self.priors.sample()
theta = list(theta.values())
theta = [theta[key] for key in self._search_parameter_keys]
else:
theta = [self.priors[key].sample()
for key in self._search_parameter_keys]
......
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