Commit 5e2feb8f authored by Tjerk Vreeken's avatar Tjerk Vreeken

ModelicaMixin: Fix seeding with ensemble-dependent symbolic parameters

parent 9e39937f
......@@ -296,7 +296,7 @@ class ModelicaMixin(OptimizationProblem):
seed = super().seed(ensemble_member)
# Parameter values
parameters = self.parameters(0)
parameters = self.parameters(ensemble_member)
parameter_values = [parameters.get(param.name(), param) for param in self.__mx['parameters']]
# Load seeds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment