From d0a4b3fdd49969a44898196182ef08958776de13 Mon Sep 17 00:00:00 2001 From: achiefa Date: Thu, 30 May 2024 14:19:06 +0100 Subject: [PATCH] Corrected bug --- validphys2/src/validphys/theorycovariance/construction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validphys2/src/validphys/theorycovariance/construction.py b/validphys2/src/validphys/theorycovariance/construction.py index e8db4cfd0a..58d1f7e601 100644 --- a/validphys2/src/validphys/theorycovariance/construction.py +++ b/validphys2/src/validphys/theorycovariance/construction.py @@ -454,8 +454,8 @@ def wrapper_to_splines(i): shifted_H2_list[i] = 0 shifted_HL_list[i] = 0 - H_2 = scint.CubicSpline(x_abmp, H2_list) - H_L = scint.CubicSpline(x_abmp, HL_list) + H_2 = scint.CubicSpline(x_abmp, shifted_H2_list) + H_L = scint.CubicSpline(x_abmp, shifted_HL_list) H_2 = np.vectorize(H_2) H_L = np.vectorize(H_L) return H_2, H_L