Skip to content

Commit 8fe4736

Browse files
fix EL alias
1 parent c043ccd commit 8fe4736

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Analytic/Spheres/Plummer/osipkovmerrit.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ OsipkovMerrittPlummer([potential])
55
66
Osipkov-Merritt anisotropy radius Plummer distribution function. Uses OrbitalElements.NumericalPlummer by default.
77
"""
8-
function OsipkovMerrittPlummer(ra::Float64; potential::PlummerPotential=NumericalPlummer())
9-
# alias for E,L version (the only one currently implemented)
10-
return OsipkovMerrittPlummerEL(ra,potential)
11-
end
128
function OsipkovMerrittPlummerEL(ra::Float64; potential::PlummerPotential=NumericalPlummer())
139
return OsipkovMerrittPlummerEL(ra,potential)
1410
end
1511
function OsipkovMerrittPlummerJL(ra::Float64; potential::PlummerPotential=NumericalPlummer())
1612
# this doesn't exist. use (E,L) instead
1713
return OsipkovMerrittPlummerJL(ra,potential)
1814
end
15+
function OsipkovMerrittPlummer(ra::Float64, potential::PlummerPotential)
16+
# alias for E,L version (the only one currently implemented)
17+
return OsipkovMerrittPlummerEL(ra,potential)
18+
end
1919

2020

2121
"""

0 commit comments

Comments
 (0)