Skip to content

Commit

Permalink
Lint loves linebreaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwhite committed Mar 25, 2024
1 parent 428ddd5 commit 18c8f70
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions HARK/ConsumptionSaving/ConsRiskyAssetModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,6 +879,7 @@ def calc_vPPnext(S, a):

###############################################################################


def solve_one_period_ConsPortChoice(
solution_next,
ShockDstn,
Expand Down Expand Up @@ -1310,6 +1311,7 @@ def calc_EndOfPrd_v(S, a, z):

###############################################################################


def solve_one_period_FixedShareRiskyAsset(
solution_next,
IncShkDstn,
Expand Down Expand Up @@ -1569,6 +1571,7 @@ def calc_vPPnext(S, b):

# Begin by re-defining transition functions for taking expectations, which are all very simple!
Z = RiskyShareFixed # for shorter notation

def calc_bNrmNext(R, a):
Rport = Z * R + (1 - Z) * Rfree
return Rport * a
Expand Down Expand Up @@ -1636,6 +1639,7 @@ def calc_vPPnext(R, a):
# Define local functions for taking future expectations when the interest
# factor is *not* independent from the income shock distribution
Z = RiskyShareFixed # for shorter notation

def calc_mNrmNext(S, a):
Risky = S["Risky"]
Rport = Z * Risky + (1 - Z) * Rfree
Expand Down

0 comments on commit 18c8f70

Please sign in to comment.