Skip to content

Commit

Permalink
better comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaloi committed Nov 3, 2024
1 parent 2d08740 commit 2870c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cpp/open3d/pipelines/registration/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace pipelines {
namespace registration {

std::shared_ptr<Feature> Feature::SelectByIndex(
const std::vector<size_t> &indices, bool invert) const {
const std::vector<size_t> &indices, bool invert /* = false */) const {
auto output = std::make_shared<Feature>();
output->Resize(data_.rows(), indices.size());

Expand Down
3 changes: 1 addition & 2 deletions cpp/pybind/pipelines/registration/feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 2870c69

Please sign in to comment.