fix unique_list logic

This commit is contained in:
Italo 2022-04-12 23:57:40 +01:00
parent 54633e90a7
commit fa298d6f1c
1 changed files with 2 additions and 2 deletions

View File

@ -426,8 +426,8 @@ class Hyperopt:
for x in a_list:
key = repr(x)
if key not in seen:
seen.append(eval(key))
return seen
seen.append(key)
return [eval(x) for x in seen]
i = 0
asked_non_tried: List[List[Any]] = []
is_random: List[bool] = []