Skip to content

Commit

Permalink
Player: Make payoff_array C contiguous
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamad committed Oct 27, 2016
1 parent af3e0ec commit 51f3eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantecon/game_theory/normal_form_game.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class Player(object):
"""
def __init__(self, payoff_array):
self.payoff_array = np.asarray(payoff_array)
self.payoff_array = np.asarray(payoff_array, order='C')

if self.payoff_array.ndim == 0:
raise ValueError('payoff_array must be an array_like')
Expand Down

0 comments on commit 51f3eea

Please sign in to comment.