Skip to content

Commit 32c0adb

Browse files
committed
update a minor typo in code
1 parent 7b5e73c commit 32c0adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/calvo_abreu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def abreu_plan(clq, T=1000, T_A=10, μ_bar=0.1, T_Plot=20):
562562
# Calculate utility of stick plan
563563
U_A = clq.β ** np.arange(T) * (
564564
clq.u0 + clq.u1 * (-clq.θ_A) - clq.u2 / 2
565-
* (-clq.θ_A) ** 2 - clq.c * clq.μ_A ** 2
565+
* (-clq.θ_A) ** 2 - clq.c / 2 * clq.μ_A ** 2
566566
)
567567
568568
clq.V_A = np.array([np.sum(U_A[t:] / clq.β ** t) for t in range(T)])

0 commit comments

Comments
 (0)