From 2de83bdfa1a862386de06c9003b60ba14ce3b368 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 5 Mar 2018 07:18:48 +0000 Subject: [PATCH] [Minor] Fix rounding --- lualib/rspamadm/rescore.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lualib/rspamadm/rescore.lua b/lualib/rspamadm/rescore.lua index cbdca924b..5ef1c4267 100644 --- a/lualib/rspamadm/rescore.lua +++ b/lualib/rspamadm/rescore.lua @@ -157,7 +157,7 @@ local function print_score_diff(new_symbol_scores, original_symbol_scores) logger.message(string.format("%-35s %-10s %-10s", symbol, original_symbol_scores[symbol] or 0, - rescore_utility.round(new_score, 2))) + lua_util.round(new_score, 2))) end logger.message("\nClass changes \n") @@ -168,7 +168,7 @@ local function print_score_diff(new_symbol_scores, original_symbol_scores) logger.message(string.format("%-35s %-10s %-10s", symbol, original_symbol_scores[symbol] or 0, - rescore_utility.round(new_score, 2))) + lua_util.round(new_score, 2))) end end end -- 2.39.5