Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthos committed Nov 20, 2023
1 parent 62284fc commit 1ebff75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dtcalendar.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ class datetime {
/** @brief Cast to double (i.e. fractional) Modified Julian Date. */
constexpr double fmjd() const noexcept {
return static_cast<double>(m_mjd.as_underlying_type()) +
m_sec.fractional_days();
fractional_days(m_sec);
}

/** @brief Cast to double (i.e. fractional) Julian Date. */
Expand Down

0 comments on commit 1ebff75

Please sign in to comment.