X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=dunshire%2Fgames.py;h=6ed36c3963fe34b902c04d8f5fc3e25662c491e5;hb=ff9a508f946f02c9c8896ebadccf2a44525a52a9;hp=ea7a64f6b8e6451a808b464494c11e9be9f0de78;hpb=0274de467062ab29d2a41d2a91ec0b28fcd95c8d;p=dunshire.git 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