diff --git a/optimas/core/trial.py b/optimas/core/trial.py index 529f1f23..efcafa4d 100644 --- a/optimas/core/trial.py +++ b/optimas/core/trial.py @@ -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])