Skip to content

Commit

Permalink
Merge pull request #250 from NNPDF/tlu-ome-fix
Browse files Browse the repository at this point in the history
time-like ome fix at nnlo
  • Loading branch information
t7phy authored Apr 26, 2023
2 parents 0b03155 + 9eb2c8f commit 35ac595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ def A_non_singlet(matching_order, N, L):
"""
A_ns = np.zeros((matching_order[0], 2, 2), np.complex_)
if matching_order[0] >= 1:
A_ns[0] = as1.A_ns()
if matching_order[0] >= 2:
A_ns[1] = as1.A_ns()
A_ns[0] = as1.A_ns()
return A_ns


Expand All @@ -53,8 +50,5 @@ def A_singlet(matching_order, N, L):
"""
A_singlet = np.zeros((matching_order[0], 3, 3), np.complex_)
if matching_order[0] >= 1:
A_singlet[0] = as1.A_singlet(N, L)
if matching_order[0] >= 2:
A_singlet[1] = as1.A_singlet(N, L)
A_singlet[0] = as1.A_singlet(N, L)
return A_singlet
2 changes: 1 addition & 1 deletion tests/eko/evolution_operator/test_ome.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_quad_ker(monkeypatch):
lambda *args: np.array([zeros, zeros, zeros]),
)
for is_log in [True, False]:
for order, p, t in [((3, 0), False, False), ((1, 0), False, True)]:
for order, p, t in [((3, 0), False, False), ((2, 0), False, True)]:
res_ns = quad_ker(
u=0,
order=order,
Expand Down

0 comments on commit 35ac595

Please sign in to comment.