diff --git a/GPy/testing/inference_tests.py b/GPy/testing/inference_tests.py index e09df1fe..cd85235d 100644 --- a/GPy/testing/inference_tests.py +++ b/GPy/testing/inference_tests.py @@ -13,6 +13,7 @@ import GPy class InferenceXTestCase(unittest.TestCase): def genData(self): + np.random.seed(1) D1,D2,N = 12,12,50 x = np.linspace(0, 4 * np.pi, N)[:, None] diff --git a/GPy/testing/link_function_tests.py b/GPy/testing/link_function_tests.py index e8cbbf66..9a923d48 100644 --- a/GPy/testing/link_function_tests.py +++ b/GPy/testing/link_function_tests.py @@ -7,6 +7,7 @@ _lim_val_exp = np.log(_lim_val) _lim_val_square = np.sqrt(_lim_val) _lim_val_cube = cbrt(_lim_val) from GPy.likelihoods.link_functions import Identity, Probit, Cloglog, Log, Log_ex_1, Reciprocal, Heaviside +#np.seterr(over='raise') class LinkFunctionTests(np.testing.TestCase): def setUp(self):