X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2Fdunshire%2Fgames.py;h=4b5383dd2f12c1fe2d6de250760e5009639bfd5d;hb=4f0bc24d81ecbce9b2220d042b407529917ef5c6;hp=f3d8100665d88c3690d75605ed177988fef6f54e;hpb=429a352cedb7bf3e6e717015982834eac1d8ea14;p=dunshire.git diff --git a/src/dunshire/games.py b/src/dunshire/games.py index f3d8100..4b5383d 100644 --- a/src/dunshire/games.py +++ b/src/dunshire/games.py @@ -319,10 +319,10 @@ class SymmetricLinearGame: # feeding it to CVXOPT. self._L = matrix(L, (K.dimension(), K.dimension())).trans() - if not K.contains_strict(self._e1): + if not self._e1 in K: raise ValueError('the point e1 must lie in the interior of K') - if not K.contains_strict(self._e2): + if not self._e2 in K: raise ValueError('the point e2 must lie in the interior of K') def __str__(self):