Skip to content

Commit

Permalink
Missing assignment to GIC_message fixed
Browse files Browse the repository at this point in the history
One of the strings was not being assigned to GIC_message, and instead just left dangling. This should fix many test failures.
  • Loading branch information
mnwhite committed Sep 25, 2023
1 parent ee0e663 commit 4926618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HARK/ConsumptionSaving/ConsIndShockModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1999,7 +1999,7 @@ def check_conditions(self, verbose=None):
if self.conditions['GICRaw']:
GIC_message = "\nBecause the GICRaw is satisfed, the ratio of individual wealth to permanent income is expected to fall indefinitely."
elif self.conditions['FHWC']:
"\nBecause the GICRaw is violated but the FHWC is satisfied, the ratio of individual wealth to permanent income is expected to rise toward infinity."
GIC_message = "\nBecause the GICRaw is violated but the FHWC is satisfied, the ratio of individual wealth to permanent income is expected to rise toward infinity."

Check warning on line 2002 in HARK/ConsumptionSaving/ConsIndShockModel.py

View check run for this annotation

Codecov / codecov/patch

HARK/ConsumptionSaving/ConsIndShockModel.py#L2002

Added line #L2002 was not covered by tests
else:
pass
# This can never be reached! If GICRaw and FHWC both fail, then the RIC also fails, and we would have exited by this point.
Expand Down

0 comments on commit 4926618

Please sign in to comment.