diff --git a/astronomy/orbit_analysis_test.cpp b/astronomy/orbit_analysis_test.cpp index 8fafeb479b..62bd2afca8 100644 --- a/astronomy/orbit_analysis_test.cpp +++ b/astronomy/orbit_analysis_test.cpp @@ -173,12 +173,12 @@ class OrbitAnalysisTest : public ::testing::Test { std::tuple ElementsAndRecurrence(SP3Orbit const& orbit) { auto const earth_centred_trajectory = EarthCentredTrajectory(orbit); - auto const elements = OrbitalElements::ForTrajectory( - *earth_centred_trajectory, - earth_, - MasslessBody{}, - /*fill_osculating_equinoctial_elements=*/true) - .value(); + auto elements = OrbitalElements::ForTrajectory( + *earth_centred_trajectory, + earth_, + MasslessBody{}, + /*fill_osculating_equinoctial_elements=*/true) + .value(); { auto const identifier = (std::stringstream() << orbit.satellite).str();