Skip to content

Commit e5ccec1

Browse files
authored
Merge pull request #570 from QuantEcon/fix_test_covariance_game
TEST: covariance_game: Increase atol value
2 parents 0b78e30 + a0b2a35 commit e5ccec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quantecon/game_theory/tests/test_random.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def test_covariance_game():
2828
rho = 1
2929
g = covariance_game(nums_actions, rho=rho)
3030
for a in np.ndindex(*nums_actions):
31+
payoff_profile = g.payoff_profile_array[a]
3132
for i in range(N-1):
32-
payoff_profile = g.payoff_profile_array[a]
33-
assert_allclose(payoff_profile[i], payoff_profile[-1], atol=1e-8)
33+
assert_allclose(payoff_profile[i], payoff_profile[-1], atol=1e-7)
3434

3535
rho = -1 / (N - 1)
3636
g = covariance_game(nums_actions, rho=rho)

0 commit comments

Comments
 (0)