From a53cf70236f3a7bf2050c23aa58eeb9b7df89f3c Mon Sep 17 00:00:00 2001 From: edaub Date: Fri, 24 Jul 2020 16:09:53 +0200 Subject: [PATCH 1/2] fixed minor issue in mogp fitting tests where tests did not fail correctly --- mogp_emulator/tests/test_fitting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mogp_emulator/tests/test_fitting.py b/mogp_emulator/tests/test_fitting.py index ac0c3428..378b9ccf 100644 --- a/mogp_emulator/tests/test_fitting.py +++ b/mogp_emulator/tests/test_fitting.py @@ -146,7 +146,7 @@ def test_fit_GP_MAP_MOGP(): fit_GP_MAP(gp, theta0=[None, None, None]) with pytest.raises(AssertionError): - fit_GP_MAP(gp, theta0=[np.zeros(3), np.zeros(1)]) + fit_GP_MAP(gp, theta0=[np.zeros(1), np.zeros(3)], processes=1) def test_fit_single_GP_MAP(): "test the method to run the minimization algorithm on a GP class" @@ -261,7 +261,7 @@ def test_fit_MOGP_MAP_MOGP(): _fit_MOGP_MAP(gp, theta0=[None, None, None]) with pytest.raises(AssertionError): - _fit_MOGP_MAP(gp, theta0=[None, np.zeros(1)]) + _fit_MOGP_MAP(gp, theta0=[np.zeros(1), None], processes=1) with pytest.raises(AssertionError): _fit_MOGP_MAP(gp, processes=-1) \ No newline at end of file From 0bf93df43d1cedbb311d6868659ab66462a3b198 Mon Sep 17 00:00:00 2001 From: edaub Date: Fri, 24 Jul 2020 16:33:14 +0200 Subject: [PATCH 2/2] updated version number for merge to devel --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 510c1b3e..0ead94cf 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ MAJOR = 0 MINOR = 3 MICRO = 0 -PRERELEASE = 15 +PRERELEASE = 16 ISRELEASED = False version = "{}.{}.{}".format(MAJOR, MINOR, MICRO)