Skip to content

Commit

Permalink
TEST: Set atol
Browse files Browse the repository at this point in the history
Test sometimes fails otherwise
  • Loading branch information
oyamad committed Oct 23, 2017
1 parent 707f8aa commit 152efdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/game_theory/tests/test_random.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def test_covariance_game():
for a in np.ndindex(*nums_actions):
for i in range(N-1):
payoff_profile = g.payoff_profile_array[a]
assert_allclose(payoff_profile[i], payoff_profile[-1])
assert_allclose(payoff_profile[i], payoff_profile[-1], atol=1e-8)

rho = -1 / (N - 1)
g = covariance_game(nums_actions, rho=rho)
Expand Down

0 comments on commit 152efdf

Please sign in to comment.