We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d513790 commit 742e6f6Copy full SHA for 742e6f6
lectures/olg.md
@@ -738,7 +738,10 @@ Finally, here is the 45-degree diagram.
738
kmin, kmax = 0, 0.5
739
n = 1000
740
k_grid = np.linspace(kmin, kmax, n)
741
-k_grid_next = k_update(k_grid,α,β)
+k_grid_next = np.empty_like(k_grid)
742
+
743
+for i in range(n):
744
+ k_grid_next[i] = k_update(k_grid[i], model)
745
746
fig, ax = plt.subplots(figsize=(6, 6))
747
0 commit comments