Skip to content

Commit

Permalink
More formatting nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwhite committed Mar 11, 2024
1 parent fb10736 commit f592a98
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3240,9 +3240,7 @@ def calc_transition_matrix(self, shk_dstn=None):
if not hasattr(shk_dstn, "pmv"):
shk_dstn = self.IncShkDstn

self.cPol_Grid = (
[]
) # List of consumption policy grids for each period in T_cycle
self.cPol_Grid = [] # List of consumption policy grids for each period in T_cycle
self.aPol_Grid = [] # List of asset policy grids for each period in T_cycle
self.tran_matrix = [] # List of transition matrices

Expand Down Expand Up @@ -3623,9 +3621,7 @@ def J_from_F(F):
else:
peturbed_list = [getattr(self, shk_param) + dx] + (
params["T_cycle"] - 1
) * [
getattr(self, shk_param)
] # Sequence of interest rates the agent
) * [getattr(self, shk_param)] # Sequence of interest rates the agent

setattr(ZerothColAgent, shk_param, peturbed_list) # Set attribute to agent

Expand Down

0 comments on commit f592a98

Please sign in to comment.