Skip to content

Commit

Permalink
fix clang builds
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-urban committed Sep 24, 2024
1 parent f33c6f1 commit ef2592e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/pymodule/amplitudecorrection/functions/module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ void init_m_functions(pybind11::module& m)

// range correction
submodule.def("get_sample_numbers_plus_half",
&get_sample_numbers_plus_half<xt::pytensor, float, int64_t>,
get_sample_numbers_plus_half<xt::pytensor, float, int64_t>,
DOC_functions(get_sample_numbers_plus_half),
py::arg("first_sample_nr"),
py::arg("last_sample_nr"),
py::arg("step") = 1);

submodule.def("approximate_range_factor",
&approximate_range_factor<float>,
approximate_range_factor<float>,
DOC_functions(approximate_range_factor),
py::arg("sample_interval_s"),
py::arg("sound_velocity_m_s"));

submodule.def("approximate_ranges",
&approximate_ranges<xt::pytensor, float, int64_t>,
approximate_ranges<xt::pytensor, float, int64_t>,
DOC_functions(approximate_ranges),
py::arg("sample_interval_s"),
py::arg("sound_velocity_m_s"),
Expand All @@ -72,14 +72,14 @@ void init_m_functions(pybind11::module& m)
py::arg("step") = 1);

submodule.def("compute_cw_range_correction",
&compute_cw_range_correction<xt::pytensor, float>,
compute_cw_range_correction<xt::pytensor, float>,
DOC_functions(compute_cw_range_correction),
py::arg("ranges_m"),
py::arg("absorption_db_m"),
py::arg("tvg_factor"));

submodule.def("apply_wci_correction",
&apply_wci_correction<xt::pytensor, float>,
apply_wci_correction<xt::pytensor, float>,
DOC_functions(apply_wci_correction),
py::arg("wci"),
py::arg("per_beam_offset"),
Expand Down

0 comments on commit ef2592e

Please sign in to comment.