From 8c4e0608dfcb6bb022e43bbf3f2a97a0ee9a2d60 Mon Sep 17 00:00:00 2001 From: "Matthew N. White" Date: Wed, 6 Mar 2024 18:26:25 -0500 Subject: [PATCH] Actually fix error properly --- HARK/ConsumptionSaving/ConsIndShockModel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py index 664fbc075..e6c557268 100644 --- a/HARK/ConsumptionSaving/ConsIndShockModel.py +++ b/HARK/ConsumptionSaving/ConsIndShockModel.py @@ -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: @@ -4461,6 +4461,7 @@ class KinkedRconsumerType(IndShockConsumerType): Parameters ---------- """ + time_inv_ = copy(IndShockConsumerType.time_inv_) time_inv_ += ["Rboro", "Rsave"]