mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-12 05:22:38 +02:00
Added logging for jitter so we know how much has been added and how many tries have been taken
This commit is contained in:
parent
cfdd72fc72
commit
f690192384
2 changed files with 10 additions and 13 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue