diff --git a/cpp/open3d/pipelines/registration/Registration.cpp b/cpp/open3d/pipelines/registration/Registration.cpp index b1a068d4e7d..8e4bc2dc31a 100644 --- a/cpp/open3d/pipelines/registration/Registration.cpp +++ b/cpp/open3d/pipelines/registration/Registration.cpp @@ -369,7 +369,8 @@ RegistrationResult RegistrationRANSACBasedOnCorrespondence( auto best_result = std::move(reducer.best_result); utility::LogDebug( "RANSAC exits after {:d} validations. Best inlier ratio {:e}, " - "RMSE {:e}", total_validation.load(), best_result.fitness_, + "RMSE {:e}", + total_validation.load(), best_result.fitness_, best_result.inlier_rmse_); return best_result; } diff --git a/cpp/open3d/utility/Logging.h b/cpp/open3d/utility/Logging.h index 65e7f9054d0..15fe28fa539 100644 --- a/cpp/open3d/utility/Logging.h +++ b/cpp/open3d/utility/Logging.h @@ -140,7 +140,7 @@ class Logger { int line, const char *function, const char *format, - Args &&...args) { + Args &&... args) { if (sizeof...(Args) > 0) { Logger::GetInstance().VError( file, line, function, @@ -155,7 +155,7 @@ class Logger { int line, const char *function, const char *format, - Args &&...args) { + Args &&... args) { if (Logger::GetInstance().GetVerbosityLevel() >= VerbosityLevel::Warning) { if (sizeof...(Args) > 0) { @@ -173,7 +173,7 @@ class Logger { int line, const char *function, const char *format, - Args &&...args) { + Args &&... args) { if (Logger::GetInstance().GetVerbosityLevel() >= VerbosityLevel::Info) { if (sizeof...(Args) > 0) { Logger::GetInstance().VInfo( @@ -190,7 +190,7 @@ class Logger { int line, const char *function, const char *format, - Args &&...args) { + Args &&... args) { if (Logger::GetInstance().GetVerbosityLevel() >= VerbosityLevel::Debug) { if (sizeof...(Args) > 0) {