From 13e0a75cc18b7f4cef60172237420cfbd29ba61e Mon Sep 17 00:00:00 2001 From: fateshelled <53618876+fateshelled@users.noreply.github.com> Date: Mon, 30 Dec 2024 05:23:05 +0900 Subject: [PATCH] fix: update error value (#97) --- include/small_gicp/registration/optimizer.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/small_gicp/registration/optimizer.hpp b/include/small_gicp/registration/optimizer.hpp index aa682b0..cfbf52f 100644 --- a/include/small_gicp/registration/optimizer.hpp +++ b/include/small_gicp/registration/optimizer.hpp @@ -124,6 +124,7 @@ struct LevenbergMarquardtOptimizer { result.T_target_source = new_T; lambda /= lambda_factor; success = true; + e = new_e; break; } else {