lox-space / lox

Oxidized Astrodynamics
Mozilla Public License 2.0
24 stars 2 forks source link

Fix TimeDelta.from_decimal_seconds #80

Closed AngusGMorrison closed 6 months ago

AngusGMorrison commented 6 months ago

Fixes a bug in TimeDelta.from_decimal_seconds whereby negative decimal seconds values with fractional parts equal to 0.0 became one second too large.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.42%. Comparing base (7958b91) to head (3cf2bfb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #80 +/- ## ======================================= Coverage 97.42% 97.42% ======================================= Files 53 53 Lines 20865 20870 +5 ======================================= + Hits 20328 20333 +5 Misses 537 537 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.