Skip to content

Commit 117b44f

Browse files
committed
Delete the unnecessary assignment in quantecon/estepec.py
1 parent a1d00e7 commit 117b44f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

quantecon/estspec.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,6 @@ def ar_periodogram(x, window='hanning', window_len=7):
146146
# === compute periodogram on residuals === #
147147
w, I_w = periodogram(e_hat, window=window, window_len=window_len)
148148

149-
# === compute periodogram on residuals === #
150-
w, I_w = periodogram(e_hat, window=window, window_len=window_len)
151-
152149
# === recolor and return === #
153150
I_w = I_w / np.abs(1 - phi * np.exp(1j * w))**2
154151

0 commit comments

Comments
 (0)