]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - dunshire/games.py
dunshire/games.py: don't require numpy to run the doctests.
[dunshire.git] / dunshire / games.py
index ea7a64f6b8e6451a808b464494c11e9be9f0de78..6ed36c3963fe34b902c04d8f5fc3e25662c491e5 100644 (file)
@@ -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