Skip to content

Commit 06e07c0

Browse files
committed
fix a typo in the lecture
1 parent dbcfd78 commit 06e07c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/mccall_q.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ def compute_error(valfunc, valfunc_vfi):
622622
623623
```{code-cell} ipython3
624624
# create an instance of QLearningMcCall
625-
qlmc = create_qlearning_mccall()
625+
qlmc = QLearningMcCall()
626626
627627
# run
628628
qtable0 = jnp.zeros((len(w_default), 2))
@@ -683,7 +683,7 @@ valfunc_vfi
683683
def plot_epochs(epochs_to_plot, quit_allowed=1, key=key):
684684
"Plot value function implied by outcomes of an increasing number of epochs."
685685
686-
qlmc_new = create_qlearning_mccall(w=w_new, q=q_new, quit_allowed=quit_allowed)
686+
qlmc_new = QLearningMcCall(w=w_new, q=q_new, quit_allowed=quit_allowed)
687687
qtable = jnp.zeros((len(w_new),2))
688688
epochs_to_plot = jnp.asarray(epochs_to_plot)
689689
# plot

0 commit comments

Comments
 (0)