Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthospap committed Oct 22, 2024
1 parent 164613e commit dedf159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/datetime_interval.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class datetime_interval {
} else {
/* difference in fractional years */
const double big = static_cast<double>(m_days);
return RT(m_sign * (big + to_fractional_days(m_secs)) /
return RT(m_sign * (big + to_fractional_days(m_secs).days()) /
DAYS_IN_JULIAN_YEAR);
}
}
Expand Down

0 comments on commit dedf159

Please sign in to comment.