From b92ed4cafec718bf94c46ff1f8ce4994e8a55d8d Mon Sep 17 00:00:00 2001 From: Malin Ejdbo Date: Tue, 8 Jun 2021 13:30:24 +0200 Subject: [PATCH] Read Horizons file with double precision --- modules/space/translation/horizonstranslation.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/space/translation/horizonstranslation.cpp b/modules/space/translation/horizonstranslation.cpp index 95bca1255d..1f13bdf6cc 100644 --- a/modules/space/translation/horizonstranslation.cpp +++ b/modules/space/translation/horizonstranslation.cpp @@ -171,9 +171,9 @@ void HorizonsTranslation::readHorizonsTextFile() { std::stringstream str(line); std::string date; std::string time; - float range = 0; - float gLon = 0; - float gLat = 0; + double range = 0; + double gLon = 0; + double gLat = 0; // File is structured by: // YYYY-MM-DD