Skip to content

Commit

Permalink
Merge pull request #451 from QuantEcon/warning-fix
Browse files Browse the repository at this point in the history
Fix warning in test_pure_nash
  • Loading branch information
mmcky committed Dec 11, 2018
2 parents fd12ca2 + 65439f3 commit 083e003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/game_theory/tests/test_pure_nash.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def setUp(self):
for k in range(2, N-2+1):
for ind in itertools.combinations(range(N), k):
a = np.ones(N, dtype=int)
a[[ind]] = 0
a[list(ind)] = 0
Unanimity_NE.append(tuple(a))
Unanimity_NE.append((1,)*N)

Expand Down

0 comments on commit 083e003

Please sign in to comment.