X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=test%2Fsymmetric_linear_game_test.py;fp=test%2Fsymmetric_linear_game_test.py;h=cf305f0ae133699a1be00a3dce8c27c72c9f2a7c;hp=0f94305e1892a97f2a6dd8dc8afb582702bd2fd1;hb=dd58b25641f37f52b7327b1b779a606c33e230eb;hpb=062eeb7b6ffff9b74c8b04c0cf1cf0cea43d8684 diff --git a/test/symmetric_linear_game_test.py b/test/symmetric_linear_game_test.py index 0f94305..cf305f0 100644 --- a/test/symmetric_linear_game_test.py +++ b/test/symmetric_linear_game_test.py @@ -235,13 +235,9 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 value that is the negation of the original game. Comes from some corollary. """ - # This is the "correct" representation of ``M``, but - # COLUMN indexed... - M = -G.L().trans() - - # so we have to transpose it when we feed it to the constructor. + # Since L is a CVXOPT matrix, it will be transposed automatically. # Note: the condition number of ``H`` should be comparable to ``G``. - H = SymmetricLinearGame(M.trans(), G.K(), G.e2(), G.e1()) + H = SymmetricLinearGame(-G.L(), G.K(), G.e2(), G.e1()) soln1 = G.solution() x_bar = soln1.player1_optimal()