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 Nov 10, 2016
1 parent 8ed832a commit e4c633b
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 e4c633b

Please sign in to comment.