Skip to content

Commit

Permalink
Added DateTime basic arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicDirkx committed Jan 17, 2024
1 parent 7b2047f commit eb8df23
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tudatpy/kernel/expose_astro/expose_time_conversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ void expose_time_conversion(py::module &m) {
get_docstring("add_seconds_to_datetime").c_str()
);

// m.def("add_days_to_datetime",
// &tba::addDaysToDateTime< TIME_TYPE >,
// py::arg("datetime"),
// py::arg("days_to_add"),
// get_docstring("add_days_to_datetime").c_str()
// );
m.def("add_days_to_datetime",
&tba::addDaysToDateTime< TIME_TYPE >,
py::arg("datetime"),
py::arg("days_to_add"),
get_docstring("add_days_to_datetime").c_str()
);



Expand Down

0 comments on commit eb8df23

Please sign in to comment.