From f00705a5a7b8230ac5391fcaa2299df8866dbe72 Mon Sep 17 00:00:00 2001 From: Luca Mantani Date: Mon, 9 Dec 2024 20:25:58 +0100 Subject: [PATCH] Fixed bug identity matrix --- src/smefit/rge.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/smefit/rge.py b/src/smefit/rge.py index ee9b87bd..c559973b 100644 --- a/src/smefit/rge.py +++ b/src/smefit/rge.py @@ -450,16 +450,8 @@ def load_rge_matrix( rgemat = [] rge_cache = {} for scale in scales: - if scale == init_scale: - # produce an identity matrix with row and columns coeff_list - rgemat_scale = pd.DataFrame( - np.eye(len(coeff_list), len(coeff_list)), - columns=sorted(coeff_list), - index=sorted(coeff_list), - ) - # Check if the RGE matrix has already been computed - elif scale in rge_cache: + if scale in rge_cache: rgemat_scale = rge_cache[scale] else: rgemat_scale = rge_runner.RGEmatrix(scale)