From b3d030abf3a0e9c5a67daacc94511b12dd66a43f Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Thu, 2 Feb 2023 13:42:15 +0000 Subject: [PATCH] fix: fixed test_correlation_intersection_of_idls --- tests/obs_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/obs_test.py b/tests/obs_test.py index 7f76a15f..4d84be63 100644 --- a/tests/obs_test.py +++ b/tests/obs_test.py @@ -878,7 +878,7 @@ def test_correlation_intersection_of_idls(): cov1 = pe.covariance([obs1, obs2_a]) corr1 = pe.covariance([obs1, obs2_a], correlation=True) - obs2_b = obs2_a + pe.Obs([np.random.normal(1.0, 0.1, len(range2))], ["ens"], idl=[range2]) + obs2_b = (obs2_a + pe.Obs([np.random.normal(1.0, 0.1, len(range2))], ["ens"], idl=[range2])) / 2 obs2_b.gamma_method() cov2 = pe.covariance([obs1, obs2_b])