Skip to content

Commit 8d56beb

Browse files
committed
change to NAN --> nan
1 parent 5b6ab15 commit 8d56beb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lectures/money_inflation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ def draw_iterations(p0s, model, line_params, num_steps):
892892
axes[1].plot(time_steps, P, **line_params)
893893
894894
# Calculate R_t
895-
R = np.insert(P[:-1] / P[1:], 0, np.NAN)
895+
R = np.insert(P[:-1] / P[1:], 0, np.nan)
896896
axes[2].plot(time_steps, R, **line_params)
897897
898898
# Add line and text annotations to the subgraph

0 commit comments

Comments
 (0)