Add self.update() to self.preSolve in IndShockConsumerType to facilitate users changing attributes between construction and solve().
@@ -2011,6 +2011,9 @@ class IndShockConsumerType(PerfForesightConsumerType):
self.eulerErrorFunc = eulerErrorFunc
def preSolve(self):
+ # Update all income process variables to match any attributes that might
+ # have been changed since `__init__` or `solve()` was last called.
+ self.updateIncomeProcess()
self.updateSolutionTerminal()
if not self.quiet:
self.checkConditions(verbose=self.verbose,public_call=False)
