Skip to content

Commit 2ec0fca

Browse files
Copilotmpusz
andauthored
fix: correct sidereal_day constant in astronomy.h (issue #786)
Agent-Logs-Url: https://github.com/mpusz/mp-units/sessions/80776de1-96d9-40da-ab02-767a215efba3 Co-authored-by: mpusz <506260+mpusz@users.noreply.github.com>
1 parent 2eb094c commit 2ec0fca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/include/mp-units/systems/astronomy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace mp_units::astronomy {
4040
// clang-format off
4141
// time
4242
inline constexpr struct day final : named_unit<"D", non_si::day> {} day;
43-
inline constexpr struct sidereal_day final : named_unit<"D_sid", mag_ratio<86'164'0905, 1'000'000> * si::second> {} sidereal_day;
43+
inline constexpr struct sidereal_day final : named_unit<"D_sid", mag_ratio<861'640'905, 10'000> * si::second> {} sidereal_day;
4444
inline constexpr struct Julian_year final : named_unit<"a", mag_ratio<365'25, 100> * day> {} Julian_year;
4545
inline constexpr struct tropical_year final : named_unit<"a_trop", mag_ratio<365'242189, 1'000'000> * day> {} tropical_year;
4646
inline constexpr struct century final : named_unit<"c", mag<100> * Julian_year> {} century;

0 commit comments

Comments
 (0)