Skip to content

Commit

Permalink
Forgot to re-activate new solver
Browse files Browse the repository at this point in the history
  • Loading branch information
mnwhite committed Mar 16, 2024
1 parent 1c3b683 commit 7b4da9c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions HARK/ConsumptionSaving/ConsRiskyAssetModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 7b4da9c

Please sign in to comment.