From 5c6a5a55d48a613a7a07fcccb3c8132e71ad9901 Mon Sep 17 00:00:00 2001 From: "Matthew N. White" Date: Mon, 11 Mar 2024 16:34:58 -0400 Subject: [PATCH] Actually use new KinkyPref solver Whoops. --- HARK/ConsumptionSaving/ConsPrefShockModel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HARK/ConsumptionSaving/ConsPrefShockModel.py b/HARK/ConsumptionSaving/ConsPrefShockModel.py index 4b2c83872..893660cf4 100644 --- a/HARK/ConsumptionSaving/ConsPrefShockModel.py +++ b/HARK/ConsumptionSaving/ConsPrefShockModel.py @@ -9,7 +9,7 @@ import numpy as np -from HARK import make_one_period_oo_solver, NullFunc +from HARK import NullFunc from HARK.ConsumptionSaving.ConsIndShockModel import ( ConsIndShockSolver, ConsKinkedRsolver, @@ -276,7 +276,7 @@ def __init__(self, **kwds): params.update(kwds) kwds = params IndShockConsumerType.__init__(self, **kwds) - self.solve_one_period = make_one_period_oo_solver(ConsKinkyPrefSolver) + self.solve_one_period = solve_one_period_ConsKinkyPref self.add_to_time_inv("Rboro", "Rsave") self.del_from_time_inv("Rfree")