Skip to content

Commit

Permalink
work on missing math defines
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Oct 17, 2024
1 parent 8ef35e7 commit 13a5995
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ void init_c_watercolumncalibration(pybind11::module& m)

.def("get_absorption_to_apply",
&WaterColumnCalibration::get_absorption_to_apply,
DOC_WaterColumnCalibration(get_absorption_to_apply))
DOC_WaterColumnCalibration(get_absorption_to_apply),
py::arg("absorption_db_m") = std::nullopt)
.def("get_tvg_factor_to_apply",
&WaterColumnCalibration::get_tvg_factor_to_apply,
DOC_WaterColumnCalibration(get_tvg_factor_to_apply),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
#include "../../datagrams.hpp"
#include "../sub/transceiverinformation.hpp"

#ifndef _USE_MATH_DEFINES
#define _USE_MATH_DEFINES
#endif
namespace themachinethatgoesping {
namespace echosounders {
namespace simradraw {
Expand Down

0 comments on commit 13a5995

Please sign in to comment.