Skip to content

Commit

Permalink
Merge pull request #193 from NNPDF/Bug-in-sv-operator-cards
Browse files Browse the repository at this point in the history
Fix bug in sv operator cards
  • Loading branch information
andreab1997 authored Sep 3, 2024
2 parents 4452b48 + dc8eb9b commit 6d511e5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,13 +397,14 @@ def xgrid_reshape(full_operator):
)
# To compute the alphas values we are first reverting the factorization scale shift
# and then obtaining the renormalization scale using xir.
ren_grid2 = xir * xir * mur2_grid
alphas_values = [
4.0
* np.pi
* sc.a_s(
xir * xir * mur2,
mur2,
)
for mur2 in mur2_grid
for mur2 in ren_grid2
]

def prepare(operator):
Expand All @@ -426,15 +427,15 @@ def prepare(operator):
fktable = grid.evolve_with_slice_iter2(
prepare(operators1),
prepare(operators2),
ren1=mur2_grid,
ren1=ren_grid2,
alphas=alphas_values,
xi=(xir, xif),
order_mask=order_mask,
)
else:
fktable = grid.evolve_with_slice_iter(
prepare(operators1),
ren1=mur2_grid,
ren1=ren_grid2,
alphas=alphas_values,
xi=(xir, xif),
order_mask=order_mask,
Expand Down

0 comments on commit 6d511e5

Please sign in to comment.