diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-05 07:18:48 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-03-05 07:18:48 +0000 |
commit | 2de83bdfa1a862386de06c9003b60ba14ce3b368 (patch) | |
tree | 42adbc1886ba37d239ba79307ed1b5cccbb1d232 /lualib/rspamadm | |
parent | d63f592f9024d03d065335a5b18f3c861c05e9ae (diff) | |
download | rspamd-2de83bdfa1a862386de06c9003b60ba14ce3b368.tar.gz rspamd-2de83bdfa1a862386de06c9003b60ba14ce3b368.zip |
[Minor] Fix rounding
Diffstat (limited to 'lualib/rspamadm')
-rw-r--r-- | lualib/rspamadm/rescore.lua | 4 |
1 files 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 |