We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 518aab6 commit db0aa7dCopy full SHA for db0aa7d
cpp/pybind/pipelines/registration/registration.cpp
@@ -264,11 +264,10 @@ void pybind_registration_definitions(py::module &m) {
264
"with_scaling"_a = false)
265
.def("__repr__",
266
[](const TransformationEstimationPointToPoint &te) {
267
- return std::string(
268
- "TransformationEstimationPointToPoint ") +
269
- (te.with_scaling_
270
- ? std::string("with scaling.")
271
- : std::string("without scaling."));
+ return fmt::format(
+ "TransformationEstimationPointToPoint("
+ "with_scaling={})",
+ te.with_scaling_ ? "True" : "False");
272
})
273
.def_readwrite(
274
"with_scaling",
0 commit comments