Skip to content

Commit

Permalink
FIX: Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
QBatista committed Sep 26, 2017
1 parent 6e33cf6 commit 917b473
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quantecon/game_theory/tests/test_mclennan_tourky.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,14 @@ def test_is_epsilon_nash_no_indptr(self):
ok_(_is_epsilon_nash([1., 0., 0., 1., 0.], self.g, 1e-5))


def test_flatten_action_profile(self):
def test_flatten_action_profile():
unflattened_actions = [[1/3, 1/3, 1/3], [1/2, 1/2]]
flattened_actions = [1/3, 1/3, 1/3, 1/2, 1/2]
test_obj = _flatten_action_profile(unflattened_actions, [0, 3, 5])
assert_allclose(test_obj, flattened_actions)


def test_best_response_selection_no_indptr(self):
def test_best_response_selection_no_indptr():
bimatrix = [[(3, 3), (3, 2)],
[(2, 2), (5, 6)],
[(0, 3), (6, 1)]]
Expand Down

0 comments on commit 917b473

Please sign in to comment.