From 2870c69dc6544c7e970dc05b8081fab08317fb23 Mon Sep 17 00:00:00 2001 From: Nicola Loi Date: Sun, 3 Nov 2024 11:30:09 +0100 Subject: [PATCH] better comments --- cpp/open3d/pipelines/registration/Feature.cpp | 2 +- cpp/pybind/pipelines/registration/feature.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cpp/open3d/pipelines/registration/Feature.cpp b/cpp/open3d/pipelines/registration/Feature.cpp index e45f5672d9d..c43adbd585f 100644 --- a/cpp/open3d/pipelines/registration/Feature.cpp +++ b/cpp/open3d/pipelines/registration/Feature.cpp @@ -19,7 +19,7 @@ namespace pipelines { namespace registration { std::shared_ptr Feature::SelectByIndex( - const std::vector &indices, bool invert) const { + const std::vector &indices, bool invert /* = false */) const { auto output = std::make_shared(); output->Resize(data_.rows(), indices.size()); diff --git a/cpp/pybind/pipelines/registration/feature.cpp b/cpp/pybind/pipelines/registration/feature.cpp index fd40b5b5f94..4baef5b560c 100644 --- a/cpp/pybind/pipelines/registration/feature.cpp +++ b/cpp/pybind/pipelines/registration/feature.cpp @@ -33,8 +33,7 @@ void pybind_feature_definitions(py::module &m_registration) { .def("num", &Feature::Num, "Returns number of points.") .def("select_by_index", &Feature::SelectByIndex, "Function to select features from input Feature group into " - "output " - "Feature group.", + "output Feature group.", "indices"_a, "invert"_a = false) .def_readwrite("data", &Feature::data_, "``dim x n`` float64 numpy array: Data buffer "