Correctly calculate the period from mean motion for minor planet center orbits (closes #3804)

This commit is contained in:
Alexander Bock
2025-09-26 22:05:44 +02:00
parent f9f61e1fdd
commit 6a0bc55462

View File

@@ -848,7 +848,7 @@ std::vector<Parameters> readMpcFile(const std::filesystem::path& file) {
argPeriapsis,
meanAnomaly,
epochFromYMDdSubstring(epochDate),
std::chrono::seconds(std::chrono::hours(24)).count() / meanMotion
(360.0 / meanMotion) * std::chrono::seconds(std::chrono::hours(24)).count()
);
}