diff --git a/setup.py b/setup.py index 0ce2359..b852d9e 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ 'awkward>=2.0.9', 'dask[complete]', 'dask-awkward>=2023.8.1', - 'func-adl>=3.1', + 'func-adl>=3.2.7', 'numpy', 'qastle>=0.16.1', 'uproot>=5', diff --git a/tests/test_adl_benchmarks.py b/tests/test_adl_benchmarks.py index f5dc742..a5c6ef4 100644 --- a/tests/test_adl_benchmarks.py +++ b/tests/test_adl_benchmarks.py @@ -1204,8 +1204,13 @@ def test_adl_benchmark_8(): ) # Quotes needed around lambda here due to https://github.com/iris-hep/func_adl/issues/127 .Select( - 'lambda event: (2 * event.leading_other_lepton_p4.pt * event.met.pt' - ' * (1 - np.cos(event.leading_other_lepton_p4.deltaphi(event.met)))) ** 0.5' + lambda event: ( + 2 + * event.leading_other_lepton_p4.pt + * event.met.pt + * (1 - np.cos(event.leading_other_lepton_p4.deltaphi(event.met))) + ) + ** 0.5 ) ) (