fix unique_list logic
This commit is contained in:
parent
54633e90a7
commit
fa298d6f1c
@ -426,8 +426,8 @@ class Hyperopt:
|
|||||||
for x in a_list:
|
for x in a_list:
|
||||||
key = repr(x)
|
key = repr(x)
|
||||||
if key not in seen:
|
if key not in seen:
|
||||||
seen.append(eval(key))
|
seen.append(key)
|
||||||
return seen
|
return [eval(x) for x in seen]
|
||||||
i = 0
|
i = 0
|
||||||
asked_non_tried: List[List[Any]] = []
|
asked_non_tried: List[List[Any]] = []
|
||||||
is_random: List[bool] = []
|
is_random: List[bool] = []
|
||||||
|
Loading…
Reference in New Issue
Block a user