From 8da35f93fd8fafd2eaa3ae2f0466e75bd6876531 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 1 Nov 2016 08:57:29 -0400 Subject: [PATCH] Remove some debug print() statements and fix a copy-paste-o in the tests. --- test/symmetric_linear_game_test.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/symmetric_linear_game_test.py b/test/symmetric_linear_game_test.py index 2978f11..12783f3 100644 --- a/test/symmetric_linear_game_test.py +++ b/test/symmetric_linear_game_test.py @@ -567,14 +567,10 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 if soln.game_value() > epsilon: # L should be positive stable positive_stable = all([eig > -options.ABS_TOL for eig in eigs]) - if not positive_stable: - print(str(eigs)) self.assertTrue(positive_stable) elif soln.game_value() < -epsilon: # L should be negative stable negative_stable = all([eig < options.ABS_TOL for eig in eigs]) - if not negative_stable: - print(str(eigs)) self.assertTrue(negative_stable) # The dual game's value should always equal the primal's. @@ -613,7 +609,7 @@ class SymmetricLinearGameTest(TestCase): # pylint: disable=R0904 while G._condition() > MAX_COND: # Try again until the condition number is satisfactory. - G = random_orthant_game() + G = random_icecream_game() L = random_lyapunov_like_icecream(G._K.dimension()) G = SymmetricLinearGame(L, G._K, G._e1, G._e2) -- 2.44.2