Skip to content

Commit

Permalink
Actually use new KinkyPref solver
Browse files Browse the repository at this point in the history
Whoops.
  • Loading branch information
mnwhite committed Mar 11, 2024
1 parent 0dd9ab3 commit 5c6a5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions HARK/ConsumptionSaving/ConsPrefShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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")

Expand Down

0 comments on commit 5c6a5a5

Please sign in to comment.