From f92b4f12c1ac3770b83fe20ff261f65fa1ce5b38 Mon Sep 17 00:00:00 2001 From: "Matthew N. White" Date: Fri, 15 Sep 2023 13:41:48 -0400 Subject: [PATCH] Remove call to check_conditions in KinkedR This method is not implemented for KinkedRConsumerType, so I have removed the call to it. Also fixed docstring for the empty method. --- HARK/ConsumptionSaving/ConsIndShockModel.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/HARK/ConsumptionSaving/ConsIndShockModel.py b/HARK/ConsumptionSaving/ConsIndShockModel.py index 488117d43..40449926e 100644 --- a/HARK/ConsumptionSaving/ConsIndShockModel.py +++ b/HARK/ConsumptionSaving/ConsIndShockModel.py @@ -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): """ @@ -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 ----------