Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Commit

Permalink
Fix _is_param_distributions_all_tune_domains (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yard1 committed Jun 3, 2021
1 parent b618b8e commit 1697f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tune_sklearn/tune_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def get_sample(dist):
self.n_trials = min(self.n_trials, samples)

def _is_param_distributions_all_tune_domains(self):
return all(
return isinstance(self.param_distributions, dict) and all(
isinstance(v, Domain) for k, v in self.param_distributions.items())

def _get_bohb_config_space(self):
Expand Down

0 comments on commit 1697f9d

Please sign in to comment.