You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionnormal_form_game_sym_2p{T<:Real}(payoff_matrix::Matrix{T})
n, m =size(payoff_matrix)
n != m &&throw(ArgumentError(
"symmetric two-player game must be represented by a square matrix"
))
player =Player(payoff_matrix)
returnNormalFormGame(player, player)
end
This will resolve the type instability issue #2 (comment).
The text was updated successfully, but these errors were encountered:
Should we have a specialized constructor, say
normal_form_game_sym_2p
, for symmetricNormalFormGame
with two players?It replaces this:
This will resolve the type instability issue #2 (comment).
The text was updated successfully, but these errors were encountered: