Commit 92cac4dd authored by Jorn Baayen's avatar Jorn Baayen

HomotopyMixin: Always inherit parent seeding behaviour, and add previous results

as additional seeding information.
parent 19ee78df
......@@ -24,11 +24,9 @@ class HomotopyMixin(OptimizationProblem):
def seed(self, ensemble_member):
if self._theta == 0.0:
seed = super(HomotopyMixin, self).seed(ensemble_member)
# Seed with previous results
seed = {}
seed = super(HomotopyMixin, self).seed(ensemble_member)
if self._theta > 0:
# Add previous results to seed
for key in self._results[ensemble_member].keys():
seed[key] = Timeseries(self.times(key), self._results[
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