From 4c0b30698819dc08228227e8cdcd743b57defdfb Mon Sep 17 00:00:00 2001 From: Tobias Heinicke Date: Thu, 5 Aug 2021 22:34:48 +0200 Subject: [PATCH] Fix Saturn mass. (#71) Saturn mass was off by a factor of 10. --- README.md | 2 +- docs/src/ref.md | 2 +- src/common.jl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a99166c..4d15c0f 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,7 @@ julia> AstroLib.planets["mars"].eqradius 3.3962e6 julia> AstroLib.planets["saturn"].mass -5.6834e25 +5.6834e26 ``` Documentation diff --git a/docs/src/ref.md b/docs/src/ref.md index 24f0767..342854b 100644 --- a/docs/src/ref.md +++ b/docs/src/ref.md @@ -81,7 +81,7 @@ julia> AstroLib.planets["mars"].eqradius 3.3962e6 julia> AstroLib.planets["saturn"].mass -5.6834e25 +5.6834e26 ``` ## Functions organized by category diff --git a/src/common.jl b/src/common.jl index 92caa57..b58181f 100644 --- a/src/common.jl +++ b/src/common.jl @@ -155,7 +155,7 @@ const planets = "jupiter"=>Planet("jupiter", 69911e3, 71492e3, 66854e3, 1898.19e24, 0.04838624, 5.20288700 * AU, 4332.589*86400, 1.30439695, 100.47390909, 14.72847983, 34.39644051), - "saturn"=>Planet("saturn", 58232e3, 60268e3, 54364e3, 568.34e23, + "saturn"=>Planet("saturn", 58232e3, 60268e3, 54364e3, 568.34e24, 0.05386179, 9.53667594 * AU, 10759.22*86400, 2.48599187, 113.66242448, 92.59887831, 49.95424423), "uranus"=>Planet("uranus", 25362e3, 25559e3, 24973e3, 86.813e24,