Skip to content

Commit

Permalink
None check
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi Wang (MSR) committed Feb 6, 2021
1 parent cdca936 commit 71acb51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flaml/searcher/blendsearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def set_search_properties(self,
else:
self._metric, self._mode = metric, mode
self._ls.set_search_properties(metric, mode, config)
self._gs.set_search_properties(metric, mode, config)
if self._gs is not None:
self._gs.set_search_properties(metric, mode, config)
self._init_search()
return True

Expand Down

0 comments on commit 71acb51

Please sign in to comment.