Skip to content

Commit

Permalink
added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
xanthospap committed Oct 17, 2023
1 parent 90f3e6b commit 565afed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tpdate.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ namespace core {
enum class JdSplitMethod { JD, J2000, MJD, DT };
struct TwoPartJulianDate {
double d0, d1;
explicit TwoPartJulianDate(double mjd0, double mjd1) noexcept
: d0(mjd0), d1(mjd1){};
};

/** Given an MJD, turn it to a JD and return it split in a convinient way
Expand Down

0 comments on commit 565afed

Please sign in to comment.