From 8487c81d43c47ddd849843f1f499fe4b352d11ae Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 18 Oct 2019 20:04:12 +0100 Subject: [PATCH] [Minor] Oops, fix misprint --- src/plugins/lua/neural.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/neural.lua b/src/plugins/lua/neural.lua index e6ffe41be..049815099 100644 --- a/src/plugins/lua/neural.lua +++ b/src/plugins/lua/neural.lua @@ -126,7 +126,7 @@ local redis_lua_script_can_store_train_vec = [[ end else if nham <= lim then - if nsham > nspam then + if nham > nspam then -- Apply sampling local skip_rate = 1.0 - nspam / (nham + 1) if math.random() < skip_rate then -- 2.39.5