Skip to content

Commit

Permalink
Fix bug with order of coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Oct 21, 2024
1 parent fb4bfbc commit 31fa71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimas/core/trial.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def from_dict(
which will be included in the optimization history.
"""
# Prepare values of the input parameters
parameter_values = {trial_dict[var.name] for var in varying_parameters}
parameter_values = [trial_dict[var.name] for var in varying_parameters]
# Prepare evaluations
evaluations = [
Evaluation(parameter=par, value=trial_dict[par.name])
Expand Down

0 comments on commit 31fa71b

Please sign in to comment.