From 44b581cc497008e0c0da33162cb94e26a818a584 Mon Sep 17 00:00:00 2001 From: Felix Hekhorn Date: Fri, 29 Jul 2022 17:09:49 +0200 Subject: [PATCH] Fix numba and LHA --- benchmarks/lha_paper_bench.py | 4 ++-- src/eko/evolution_operator/__init__.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/benchmarks/lha_paper_bench.py b/benchmarks/lha_paper_bench.py index 451c638d1..f2ee934e3 100644 --- a/benchmarks/lha_paper_bench.py +++ b/benchmarks/lha_paper_bench.py @@ -112,8 +112,8 @@ def run_lha(self, theory_updates): [ { "Q2grid": [1e4], - "configs": {"ev_op_iterations": 10}, - "xgrid": make_lambert_grid(60).tolist(), + "ev_op_iterations": 10, + "interpolation_xgrid": make_lambert_grid(60).tolist(), } ], ["ToyLH"], diff --git a/src/eko/evolution_operator/__init__.py b/src/eko/evolution_operator/__init__.py index 4d2a17678..be5f8a690 100644 --- a/src/eko/evolution_operator/__init__.py +++ b/src/eko/evolution_operator/__init__.py @@ -265,7 +265,7 @@ def __init__( self._mellin_cut = mellin_cut self.is_threshold = is_threshold self.op_members = {} - self.order = config["order"] + self.order = tuple(config["order"]) @property def n_pools(self): @@ -376,7 +376,7 @@ def quad_ker(self, label, logx, areas): nf=self.nf, L=np.log(self.fact_to_ren), ev_op_iterations=self.config["ev_op_iterations"], - ev_op_max_order=self.config["ev_op_max_order"], + ev_op_max_order=tuple(self.config["ev_op_max_order"]), sv_mode=self.sv_mode, is_threshold=self.is_threshold, )