From 5e81a752d1f56606f24657844e08550424840e87 Mon Sep 17 00:00:00 2001 From: giacomomagni Date: Mon, 2 Sep 2024 16:23:46 +0200 Subject: [PATCH 1/2] fix typo --- .../polarized/space_like/as2.py | 2 +- .../polarized/space_like/test_nnlo.py | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ekore/operator_matrix_elements/polarized/space_like/as2.py b/src/ekore/operator_matrix_elements/polarized/space_like/as2.py index 402274a0c..eab9b1b00 100644 --- a/src/ekore/operator_matrix_elements/polarized/space_like/as2.py +++ b/src/ekore/operator_matrix_elements/polarized/space_like/as2.py @@ -116,7 +116,7 @@ def A_hq_ps(n, cache, L, nf): * ((n + 2) / (n**2 * (n + 1) ** 2)) * ( (n - 1) * (2 * S2 + zeta2) - - ((4 * n**3 - 4 * n**2 - 3 * n - 1) / (n**2 * (n + 1) ** 2)) + + ((4 * n**3 - 4 * n**2 - 3 * n - 1) / (n**2 * (n + 1) ** 2)) ) ) # term that differentiates between M scheme and Larin scheme, diff --git a/tests/ekore/operator_matrix_elements/polarized/space_like/test_nnlo.py b/tests/ekore/operator_matrix_elements/polarized/space_like/test_nnlo.py index c107aff89..697f90fd3 100644 --- a/tests/ekore/operator_matrix_elements/polarized/space_like/test_nnlo.py +++ b/tests/ekore/operator_matrix_elements/polarized/space_like/test_nnlo.py @@ -53,18 +53,18 @@ def test_hg(): def test_hq(): refs = { 0: [ - -0.4642489711934156, - -0.23400164609053498, - -0.13602229539775093, - -0.08807148818984994, - -0.061448213442336426, + -0.5439814814814814, + -0.2517004115226338, + -0.14165471418159098, + -0.09036414682928498, + -0.06254577811991613, ], 10: [ - -24.229681069958847, - -10.410791769547325, - -5.706357572365681, - -3.587147848500778, - -2.459209109825822, + -24.309413580246915, + -10.428490534979424, + -5.7119899911495216, + -3.589440507140213, + -2.460306674503402, ], } zqq_shift = [ From f06b0b8b7cedfa818a1c471daa02ab52b7f51fff Mon Sep 17 00:00:00 2001 From: giacomomagni Date: Mon, 2 Sep 2024 18:12:43 +0200 Subject: [PATCH 2/2] fix typo in pegasus --- benchmarks/ekore/benchmark_pegasus_ome_ps_as2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/ekore/benchmark_pegasus_ome_ps_as2.py b/benchmarks/ekore/benchmark_pegasus_ome_ps_as2.py index 66b471c57..700520854 100644 --- a/benchmarks/ekore/benchmark_pegasus_ome_ps_as2.py +++ b/benchmarks/ekore/benchmark_pegasus_ome_ps_as2.py @@ -115,7 +115,7 @@ def check_pegasus_ome_ps_as2_s(N, NF): * N2 / N**2 / N1**2 - * (NM * (2 * S2 + ZETA2) - (4 * N**3 - 4 * N**2 - 3 * N - 1) / N**2 / N1**2) + * (NM * (2 * S2 + ZETA2) + (4 * N**3 - 4 * N**2 - 3 * N - 1) / N**2 / N1**2) + ZETA2 / 8 * G0QG_HAT * G0GQ ) #