From 7b4da9ccf71d45c1047a901993399847a41d9c98 Mon Sep 17 00:00:00 2001 From: "Matthew N. White" Date: Fri, 15 Mar 2024 20:06:16 -0400 Subject: [PATCH] Forgot to re-activate new solver --- HARK/ConsumptionSaving/ConsRiskyAssetModel.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/HARK/ConsumptionSaving/ConsRiskyAssetModel.py b/HARK/ConsumptionSaving/ConsRiskyAssetModel.py index d1ffe7118..437731693 100644 --- a/HARK/ConsumptionSaving/ConsRiskyAssetModel.py +++ b/HARK/ConsumptionSaving/ConsRiskyAssetModel.py @@ -79,11 +79,9 @@ def __init__(self, verbose=False, quiet=False, **kwds): # RiskyAssetConsumerType if self.PortfolioBool: solver = ConsPortfolioIndShkRiskyAssetSolver # optimize over shares + self.solve_one_period = make_one_period_oo_solver(solver) else: - solver = ConsIndShkRiskyAssetSolver # risky share of 1 - - self.solve_one_period = make_one_period_oo_solver(solver) - # self.solve_one_period = solve_one_period_ConsIndShockRiskyAsset + self.solve_one_period = solve_one_period_ConsIndShockRiskyAsset def pre_solve(self): self.update_solution_terminal()