Skip to content

Commit

Permalink
fix EL alias
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-petersen committed Nov 20, 2024
1 parent c043ccd commit 8fe4736
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Analytic/Spheres/Plummer/osipkovmerrit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ OsipkovMerrittPlummer([potential])
Osipkov-Merritt anisotropy radius Plummer distribution function. Uses OrbitalElements.NumericalPlummer by default.
"""
function OsipkovMerrittPlummer(ra::Float64; potential::PlummerPotential=NumericalPlummer())
# alias for E,L version (the only one currently implemented)
return OsipkovMerrittPlummerEL(ra,potential)
end
function OsipkovMerrittPlummerEL(ra::Float64; potential::PlummerPotential=NumericalPlummer())
return OsipkovMerrittPlummerEL(ra,potential)
end
function OsipkovMerrittPlummerJL(ra::Float64; potential::PlummerPotential=NumericalPlummer())
# this doesn't exist. use (E,L) instead
return OsipkovMerrittPlummerJL(ra,potential)
end
function OsipkovMerrittPlummer(ra::Float64, potential::PlummerPotential)
# alias for E,L version (the only one currently implemented)
return OsipkovMerrittPlummerEL(ra,potential)
end


"""
Expand Down

0 comments on commit 8fe4736

Please sign in to comment.