Skip to content

Commit

Permalink
Remove call to check_conditions in KinkedR
Browse files Browse the repository at this point in the history
This method is not implemented for KinkedRConsumerType, so I have removed the call to it. Also fixed docstring for the empty method.
  • Loading branch information
mnwhite committed Sep 15, 2023
1 parent 57cdc2c commit f92b4f1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -3766,8 +3766,6 @@ def __init__(self, **kwds):
def pre_solve(self):
# AgentType.pre_solve(self)
self.update_solution_terminal()
if not self.quiet:
self.check_conditions(verbose=self.verbose)

def calc_bounding_values(self):
"""
Expand Down Expand Up @@ -3874,11 +3872,9 @@ def get_Rfree(self):

def check_conditions(self):
"""
This method checks whether the instance's type satisfies the Absolute Impatience Condition (AIC),
the Return Impatience Condition (RIC), the Growth Impatience Condition (GICRaw), the Normalized Growth Impatience Condition (GIC-Nrm), the Weak Return
Impatience Condition (WRIC), the Finite Human Wealth Condition (FHWC) and the Finite Value of
Autarky Condition (FVAC). To check which conditions are relevant to the model at hand, a
reference to the relevant theoretical literature is made.
This empty method overwrites the version inherited from its parent class,
IndShockConsumerType. The condition checks are not appropriate when Rfree
has multiple values.
Parameters
----------
Expand Down

0 comments on commit f92b4f1

Please sign in to comment.