From 98f3fc0a647238077a70c88ba9069ee53d6fdd7e Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Mon, 15 Jun 2026 07:15:02 +0000 Subject: [PATCH] Please consider the following formatting changes --- Common/Utils/include/CommonUtils/ConfigurableParamHelper.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Common/Utils/include/CommonUtils/ConfigurableParamHelper.h b/Common/Utils/include/CommonUtils/ConfigurableParamHelper.h index d9180dbb5ea0b..f52c2079c6005 100644 --- a/Common/Utils/include/CommonUtils/ConfigurableParamHelper.h +++ b/Common/Utils/include/CommonUtils/ConfigurableParamHelper.h @@ -48,10 +48,9 @@ inline std::size_t damerauLevenshteinDistance(std::string_view a, std::string_vi curr[0] = i; for (std::size_t j = 1; j <= m; ++j) { std::size_t cost = (a[i - 1] == b[j - 1]) ? 0 : 1; - curr[j] = std::min({ - prev[j] + 1, - curr[j - 1] + 1, - prev[j - 1] + cost}); + curr[j] = std::min({prev[j] + 1, + curr[j - 1] + 1, + prev[j - 1] + cost}); if (i > 1 && j > 1 && a[i - 1] == b[j - 2] && a[i - 2] == b[j - 1]) { curr[j] = std::min(curr[j], prev2[j - 2] + 1);