From d246cd95cb23041ec7bff66400a8422e18f24639 Mon Sep 17 00:00:00 2001 From: giacomomagni Date: Thu, 31 Oct 2024 13:27:27 +0100 Subject: [PATCH] fix flavor rotation --- src/pineko/evolve.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pineko/evolve.py b/src/pineko/evolve.py index 8394af20..a37e74bd 100644 --- a/src/pineko/evolve.py +++ b/src/pineko/evolve.py @@ -357,13 +357,13 @@ def evolve_grid( evol_info = grid.evolve_info(order_mask) x_grid = evol_info.x1 + if "integrability_version" in grid.key_values(): + x_grid = np.append(x_grid, 1.0) + mur2_grid = evol_info.ren1 xif = 1.0 if operators1.operator_card.configs.scvar_method is not None else xif tcard = operators1.theory_card opcard = operators1.operator_card - # rotate the targetgrid - if "integrability_version" in grid.key_values(): - x_grid = np.append(x_grid, 1.0) # TODO: do we still want to check here or only later ? check.check_grid_and_eko_compatible(grid, operators1, xif, max_as, max_al) @@ -410,7 +410,7 @@ def prepare(operator): pids0=basis_rotation.evol_basis_pids, fac1=q2, x1=x_grid.tolist(), - pids1=basis_rotation.evol_basis_pids, + pids1=basis_rotation.flavor_basis_pids, pid_basis=PyPidBasis.Evol, ) yield (info, op.operator)