Skip to content

Commit

Permalink
Make mass2 alias const
Browse files Browse the repository at this point in the history
Co-authored-by: Jerry Ling <[email protected]>
  • Loading branch information
graeme-a-stewart and Moelf committed Oct 30, 2023
1 parent d2a03c6 commit 0452ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pseudojet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ px(p::PseudoJet) = p.px
py(p::PseudoJet) = p.py
pz(p::PseudoJet) = p.pz
mass(p::PseudoJet) = m(p)
mass2 = m2
const mass2 = m2
energy(p::PseudoJet) = p.E

import Base.+;
Expand Down

0 comments on commit 0452ac3

Please sign in to comment.