Skip to content

Commit

Permalink
Fix two instances of E0446
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Jan 11, 2024
1 parent 6ca5622 commit d85826f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use crate::earth::nutation::iau2000::LuniSolarCoefficients;

#[rustfmt::skip]
// @formatter:off (sometimes RustRover ignores the rustfmt skip)
pub(crate) const COEFFICIENTS: [LuniSolarCoefficients; 678] = [
pub(super) const COEFFICIENTS: [LuniSolarCoefficients; 678] = [
LuniSolarCoefficients{ l: 0.0, lp: 0.0, f: 0.0, d: 0.0, om: 1.0, sin_psi: -172064161.0, sin_psi_t: -174666.0, cos_psi: 33386.0, cos_eps: 92052331.0, cos_eps_t: 9086.0, sin_eps: 15377.0},
LuniSolarCoefficients{ l: 0.0, lp: 0.0, f: 2.0, d: -2.0, om: 2.0, sin_psi: -13170906.0, sin_psi_t: -1675.0, cos_psi: -13696.0, cos_eps: 5730336.0, cos_eps_t: -3015.0, sin_eps: -4587.0},
LuniSolarCoefficients{ l: 0.0, lp: 0.0, f: 2.0, d: 0.0, om: 2.0, sin_psi: -2276413.0, sin_psi_t: -234.0, cos_psi: 2796.0, cos_eps: 978459.0, cos_eps_t: -485.0, sin_eps: 1374.0},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use super::PlanetaryCoefficients;

#[rustfmt::skip]
// @formatter:off (sometimes RustRover ignores the rustfmt skip)
pub(crate) const COEFFICIENTS: [PlanetaryCoefficients; 687] = [
pub(super) const COEFFICIENTS: [PlanetaryCoefficients; 687] = [
PlanetaryCoefficients{ l: 0.0, f: 0.0, d: 0.0, om: 0.0, mercury: 0.0, venus: 0.0, earth: 8.0, mars: -16.0, jupiter: 4.0, saturn: 5.0, uranus: 0.0, neptune: 0.0, pa: 0.0, sin_psi: 1440.0, cos_psi: 0.0, sin_eps: 0.0, cos_eps: 0.0},
PlanetaryCoefficients{ l: 0.0, f: 0.0, d: 0.0, om: 0.0, mercury: 0.0, venus: 0.0, earth: -8.0, mars: 16.0, jupiter: -4.0, saturn: -5.0, uranus: 0.0, neptune: 0.0, pa: 2.0, sin_psi: 56.0, cos_psi: -117.0, sin_eps: -42.0, cos_eps: -40.0},
PlanetaryCoefficients{ l: 0.0, f: 0.0, d: 0.0, om: 0.0, mercury: 0.0, venus: 0.0, earth: 8.0, mars: -16.0, jupiter: 4.0, saturn: 5.0, uranus: 0.0, neptune: 0.0, pa: 2.0, sin_psi: 125.0, cos_psi: -43.0, sin_eps: 0.0, cos_eps: -54.0},
Expand Down

0 comments on commit d85826f

Please sign in to comment.