From 3cba385ab7b8cba37334d2a8886e36ed73b64e68 Mon Sep 17 00:00:00 2001 From: Vishwa Shah Date: Tue, 8 Oct 2024 14:09:45 -0500 Subject: [PATCH] fix: parser <-> Physics 10.0 compatibility (#446) --- validation/OpenSpaceToolkit/Astrodynamics/Parser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/validation/OpenSpaceToolkit/Astrodynamics/Parser.cpp b/validation/OpenSpaceToolkit/Astrodynamics/Parser.cpp index acc57a3d4..920a5e6af 100644 --- a/validation/OpenSpaceToolkit/Astrodynamics/Parser.cpp +++ b/validation/OpenSpaceToolkit/Astrodynamics/Parser.cpp @@ -111,7 +111,7 @@ State Parser::CreateInitialState(const Dictionary& aDictionary, const SatelliteS Environment Parser::CreateEnvironment(const Dictionary& aDictionary) { - Array> celestials = Array>::Empty(); + Array> celestials = Array>::Empty(); EarthGravitationalModel::Type earthGravitationalModelType = EarthGravitationalModel::Type::Undefined; Integer earthGravitationalModelDegree = 0; @@ -138,11 +138,11 @@ Environment Parser::CreateEnvironment(const Dictionary& aDictionary) } else if (force["data"]["body"].accessString() == "SUN") { - celestials.add(std::make_shared(Sun::Default())); + celestials.add(std::make_shared(Sun::Default())); } else if (force["data"]["body"].accessString() == "MOON") { - celestials.add(std::make_shared(Moon::Default())); + celestials.add(std::make_shared(Moon::Default())); } else { @@ -177,7 +177,7 @@ Environment Parser::CreateEnvironment(const Dictionary& aDictionary) } } - celestials.add(std::make_shared(Earth::FromModels( + celestials.add(std::make_shared(Earth::FromModels( std::make_shared( earthGravitationalModelType, Directory::Undefined(),