diff --git a/src/Analytic/Spheres/Plummer/osipkovmerrit.jl b/src/Analytic/Spheres/Plummer/osipkovmerrit.jl index d1162b6..72f32f9 100644 --- a/src/Analytic/Spheres/Plummer/osipkovmerrit.jl +++ b/src/Analytic/Spheres/Plummer/osipkovmerrit.jl @@ -5,10 +5,6 @@ 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 @@ -16,6 +12,10 @@ function OsipkovMerrittPlummerJL(ra::Float64; potential::PlummerPotential=Numeri # 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 """