Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBlesch committed Feb 7, 2025
1 parent ae84fa4 commit c5d5ac7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/source/Tutorials/two_period_model_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,12 @@
"metadata": {},
"outputs": [],
"source": [
"state_dict = {\"ltc\": 0, \"lagged_choice\": 0, \"period\": 0, \"choice\": choice_in_period_0}\n",
"state_dict = {\n",
" \"ltc\": initial_condition[\"health\"],\n",
" \"lagged_choice\": 0,\n",
" \"period\": 0,\n",
" \"choice\": choice_in_period_0,\n",
"}\n",
"\n",
"cons_calc, value = policy_and_value_for_state_choice_vec(\n",
" endog_grid_solved=endog_grid_solved,\n",
Expand Down

0 comments on commit c5d5ac7

Please sign in to comment.