Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix alerts by lgtm #474

Merged
merged 3 commits into from
Mar 10, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Delete the unnecessary assignment in quantecon/estepec.py
  • Loading branch information
okuchap committed Mar 8, 2019
commit 117b44f05cee9e3e8beafe7b53b32cb558850782
3 changes: 0 additions & 3 deletions quantecon/estspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ def ar_periodogram(x, window='hanning', window_len=7):
# === compute periodogram on residuals === #
w, I_w = periodogram(e_hat, window=window, window_len=window_len)

# === compute periodogram on residuals === #
w, I_w = periodogram(e_hat, window=window, window_len=window_len)

# === recolor and return === #
I_w = I_w / np.abs(1 - phi * np.exp(1j * w))**2

Expand Down