From e51a74a65ae3d9d938820bcea3bc5c27a0047df8 Mon Sep 17 00:00:00 2001 From: Shintaro Sakoda Date: Mon, 13 May 2024 10:42:48 +0900 Subject: [PATCH] Added name in TODO Signed-off-by: Shintaro Sakoda --- .../src/tree_structured_parzen_estimator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/localization/tree_structured_parzen_estimator/src/tree_structured_parzen_estimator.cpp b/localization/tree_structured_parzen_estimator/src/tree_structured_parzen_estimator.cpp index ec22e26567721..c81962c14f61c 100644 --- a/localization/tree_structured_parzen_estimator/src/tree_structured_parzen_estimator.cpp +++ b/localization/tree_structured_parzen_estimator/src/tree_structured_parzen_estimator.cpp @@ -140,7 +140,8 @@ double TreeStructuredParzenEstimator::compute_log_likelihood_ratio(const Input & const double below = log_sum_exp(below_logs); // Multiply by a constant so that the score near the "below sample" becomes lower. - // TODO: It's theoretically incorrect, consider it again later. + // cspell:disable-line TODO(Shintaro Sakoda): It's theoretically incorrect, consider it again + // later. const double r = above - below * 5.0; return r; }