Skip to content

Commit

Permalink
Actually fix error properly
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwhite committed Mar 6, 2024
1 parent 8faf1a1 commit 8c4e060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def solve_one_period_ConsKinkedR(

# Update the bounding MPCs and PDV of human wealth:
PatFac = ((Rsave * DiscFacEff) ** (1.0 / CRRA)) / Rsave
PatFacAlt = ((Rsave * DiscFacEff) ** (1.0 / CRRA)) / Rboro
PatFacAlt = ((Rboro * DiscFacEff) ** (1.0 / CRRA)) / Rboro
try:
MPCminNow = 1.0 / (1.0 + PatFac / solution_next.MPCmin)
except:
Expand Down Expand Up @@ -4461,6 +4461,7 @@ class KinkedRconsumerType(IndShockConsumerType):
Parameters
----------
"""

time_inv_ = copy(IndShockConsumerType.time_inv_)
time_inv_ += ["Rboro", "Rsave"]

Expand Down

0 comments on commit 8c4e060

Please sign in to comment.