Added logging for jitter so we know how much has been added and how many tries have been taken

This commit is contained in:
Alan Saul 2015-02-10 11:52:40 +00:00
parent cfdd72fc72
commit f690192384
2 changed files with 10 additions and 13 deletions

View file

@ -27,8 +27,10 @@ class LinalgTests(np.testing.TestCase):
def test_jitchol_failure(self):
try:
""" Expecting an exception to be thrown as we expect it to require
5 rounds of jitter to be added to enforce PDness"""
"""
Expecting an exception to be thrown as we expect it to require
5 rounds of jitter to be added to enforce PDness
"""
jitchol(self.A_corrupt, maxtries=4)
return False
except sp.linalg.LinAlgError: