Skip to content

Commit

Permalink
Merge pull request #474 from okuchap/bugfix
Browse files Browse the repository at this point in the history
Fix alerts by lgtm
  • Loading branch information
oyamad authored Mar 10, 2019
2 parents a1d00e7 + 11abefb commit 1e757ec
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion quantecon/compute_fp.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def compute_fixed_point(T, v, error_tol=1e-3, max_iter=50, verbose=2,

# method == 'iteration'
iterate = 0
error = error_tol + 1

if verbose == 2:
start_time = time.time()
Expand Down
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
1 change: 0 additions & 1 deletion quantecon/game_theory/repeated_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def _equilibrium_payoffs_abreu_sannikov(rpg, tol=1e-12, max_iter=500,
raise NotImplementedError(msg)

best_dev_gains = _best_dev_gains(rpg)
C = np.empty((4, 2))
IC = np.empty(2)
action_profile_payoff = np.empty(2)
# auxiliary array for checking if payoff is inside the convex hull
Expand Down

0 comments on commit 1e757ec

Please sign in to comment.