Skip to content

Commit

Permalink
Rectify differences with black on remote
Browse files Browse the repository at this point in the history
This needs to get resolved at some point; it's happening to Alan too. One of these "changes" is adding an extra space before a comment-- two spaces rather than one. Come on.
  • Loading branch information
mnwhite committed Mar 5, 2024
1 parent fed3ca7 commit 5678676
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion HARK/ConsumptionSaving/ConsLabeledModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5678676

Please sign in to comment.