diff --git a/crates/lox-earth/src/cip/xy06/amplitudes.rs b/crates/lox-earth/src/cip/xy06/amplitudes.rs index 3ea47c8c..f6a24fac 100644 --- a/crates/lox-earth/src/cip/xy06/amplitudes.rs +++ b/crates/lox-earth/src/cip/xy06/amplitudes.rs @@ -148,7 +148,7 @@ pub(crate) const INDICES: [usize; 1309] = [ #[rustfmt::skip] // @formatter:off (sometimes RustRover ignores the rustfmt skip) #[allow(clippy::approx_constant)] -pub(crate) const COEFFICIENTS: [Microarcseconds; 4755] = [ +pub(crate) static COEFFICIENTS: [Microarcseconds; 4755] = [ -6844318.44, 9205236.26,1328.67,1538.18, 205833.11, 153041.79, -3309.73, 853.32,2037.98, -2301.27, 81.46, 120.56, -20.39, -15.22, 1.73, -1.61, -0.10, 0.11, diff --git a/crates/lox-earth/src/cip/xy06/luni_solar.rs b/crates/lox-earth/src/cip/xy06/luni_solar.rs index fca685b1..b31d185d 100644 --- a/crates/lox-earth/src/cip/xy06/luni_solar.rs +++ b/crates/lox-earth/src/cip/xy06/luni_solar.rs @@ -12,7 +12,7 @@ pub(crate) const N_FREQUENCY_LISTS: usize = 653; #[rustfmt::skip] // @formatter:off (sometimes RustRover ignores the rustfmt skip) -pub(crate) const FREQUENCY_LISTS: [LuniSolarFrequencyList; N_FREQUENCY_LISTS] = [ +pub(crate) static FREQUENCY_LISTS: [LuniSolarFrequencyList; N_FREQUENCY_LISTS] = [ [0.0, 0.0, 0.0, 0.0, 1.0], [0.0, 0.0, 2.0, -2.0, 2.0], [0.0, 0.0, 2.0, 0.0, 2.0], diff --git a/crates/lox-earth/src/cip/xy06/planetary.rs b/crates/lox-earth/src/cip/xy06/planetary.rs index bb98e03a..1309bd38 100644 --- a/crates/lox-earth/src/cip/xy06/planetary.rs +++ b/crates/lox-earth/src/cip/xy06/planetary.rs @@ -10,7 +10,7 @@ pub(crate) type PlanetaryFrequencyList = [f64; 14]; #[rustfmt::skip] // @formatter:off (sometimes RustRover ignores the rustfmt skip) -pub(crate) const FREQUENCY_LISTS: [PlanetaryFrequencyList; 656] = [ +pub(crate) static FREQUENCY_LISTS: [PlanetaryFrequencyList; 656] = [ [0.0, 0.0, 1.0, -1.0, 1.0, 0.0, 0.0, -1.0, 0.0, -2.0, 5.0, 0.0, 0.0, 0.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.0, -5.0, 0.0, 0.0, -1.0], [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 3.0, -5.0, 0.0, 0.0, 0.0, 0.0, 0.0, -2.0], diff --git a/crates/lox-earth/src/nutation/iau2000/iau2000a/luni_solar.rs b/crates/lox-earth/src/nutation/iau2000/iau2000a/luni_solar.rs index e8e49fea..40959def 100644 --- a/crates/lox-earth/src/nutation/iau2000/iau2000a/luni_solar.rs +++ b/crates/lox-earth/src/nutation/iau2000/iau2000a/luni_solar.rs @@ -10,7 +10,7 @@ use crate::nutation::iau2000::LuniSolarCoefficients; #[rustfmt::skip] // @formatter:off (sometimes RustRover ignores the rustfmt skip) -pub(super) const COEFFICIENTS: [LuniSolarCoefficients; 678] = [ +pub(super) static 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}, diff --git a/crates/lox-earth/src/nutation/iau2000/iau2000a/planetary.rs b/crates/lox-earth/src/nutation/iau2000/iau2000a/planetary.rs index 2d96249c..35fc57eb 100644 --- a/crates/lox-earth/src/nutation/iau2000/iau2000a/planetary.rs +++ b/crates/lox-earth/src/nutation/iau2000/iau2000a/planetary.rs @@ -10,7 +10,7 @@ use super::PlanetaryCoefficients; #[rustfmt::skip] // @formatter:off (sometimes RustRover ignores the rustfmt skip) -pub(super) const COEFFICIENTS: [PlanetaryCoefficients; 687] = [ +pub(super) static 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},