X-Git-Url: https://gitweb.michael.orlitzky.com/?p=dunshire.git;a=blobdiff_plain;f=dunshire%2Fgames.py;h=6ed36c3963fe34b902c04d8f5fc3e25662c491e5;hp=ea7a64f6b8e6451a808b464494c11e9be9f0de78;hb=ff9a508f946f02c9c8896ebadccf2a44525a52a9;hpb=7837b7fff14547167fce6d4ba37c0c955f482cf6 diff --git a/dunshire/games.py b/dunshire/games.py index ea7a64f..6ed36c3 100644 --- a/dunshire/games.py +++ b/dunshire/games.py @@ -249,12 +249,11 @@ class SymmetricLinearGame: there is no row/column ambiguity:: >>> import cvxopt - >>> import numpy >>> from dunshire import * >>> K = NonnegativeOrthant(2) >>> L = [[1,0],[0,1]] >>> e1 = cvxopt.matrix([1,1]) - >>> e2 = numpy.matrix([1,1]) + >>> e2 = (1,1) >>> G = SymmetricLinearGame(L, K, e1, e2) >>> print(G) The linear game (L, K, e1, e2) where