diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py index 19495dcec..a41724c7e 100644 --- a/HARK/ConsumptionSaving/ConsIndShockModel.py +++ b/HARK/ConsumptionSaving/ConsIndShockModel.py @@ -1556,12 +1556,10 @@ def sim_birth(self, which_agents): self, "PerfMITShk" ): # If PerfMITShk not specified, let it be False self.PerfMITShk = False - if ( - self.PerfMITShk is False - ): # If True, Newborns inherit t_cycle of agent they replaced (i.e. t_cycles are not reset). - self.t_cycle[which_agents] = ( - 0 # Which period of the cycle each agent is currently in - ) + if not self.PerfMITShk: + # If True, Newborns inherit t_cycle of agent they replaced (i.e. t_cycles are not reset). + self.t_cycle[which_agents] = 0 + # Which period of the cycle each agent is currently in return None diff --git a/HARK/ConsumptionSaving/ConsLabeledModel.py b/HARK/ConsumptionSaving/ConsLabeledModel.py index 05f30256d..5bc785454 100644 --- a/HARK/ConsumptionSaving/ConsLabeledModel.py +++ b/HARK/ConsumptionSaving/ConsLabeledModel.py @@ -305,7 +305,7 @@ def update_solution_terminal(self): ) def post_solve(self): - pass # Do nothing, rather than try to run calc_stable_points + pass # Do nothing, rather than try to run calc_stable_points class ConsPerfForesightLabeledSolver(ConsIndShockSetup):