From 2399e11170c25f5af276f8c9c3140bbc1f579474 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 1 Nov 2016 19:09:39 -0400 Subject: [PATCH] Ensure that e1,e2 are far enough inside K in random_orthant_game(). --- test/randomgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/randomgen.py b/test/randomgen.py index 9510c04..97dd0b9 100644 --- a/test/randomgen.py +++ b/test/randomgen.py @@ -323,8 +323,8 @@ def random_orthant_game(): """ ambient_dim = random_natural() + 1 K = NonnegativeOrthant(ambient_dim) - e1 = [random_nn_scalar() for _ in range(K.dimension())] - e2 = [random_nn_scalar() for _ in range(K.dimension())] + e1 = [0.1 + random_nn_scalar() for _ in range(K.dimension())] + e2 = [0.1 + random_nn_scalar() for _ in range(K.dimension())] L = random_matrix(K.dimension()) G = SymmetricLinearGame(L, K, e1, e2) -- 2.44.2