Skip to content

Commit

Permalink
fix: idxs in Trials object shares new_ids
Browse files Browse the repository at this point in the history
  • Loading branch information
stevetracvc committed Nov 11, 2023
1 parent d851526 commit 9d57bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hyperopt/atpe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ def suggest(new_ids, domain, trials, seed):
tid=new_id,
cmd=domain.cmd,
workdir=domain.workdir,
idxs={key: [0] for key in flatParameters},
idxs={key: [new_id] for key in flatParameters},
vals={key: [flatParameters[key]] for key in flatParameters},
)
]
Expand Down

0 comments on commit 9d57bac

Please sign in to comment.