Skip to content

Commit

Permalink
remove quoted lambda workaround in test
Browse files Browse the repository at this point in the history
  • Loading branch information
masonproffitt committed Oct 20, 2023
1 parent 0fd7be3 commit b9d9740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_adl_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,8 +1204,8 @@ 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
)
)
(
Expand Down

0 comments on commit b9d9740

Please sign in to comment.