]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Silence bloody lua-check
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Mar 2018 17:20:32 +0000 (17:20 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 6 Mar 2018 17:20:32 +0000 (17:20 +0000)
lualib/rspamadm/rescore.lua

index 448c362570b64f92222c439c1cc3c8d794054e2f..c1b7a620ef76c8048e53c2aa4b1361fb44b1473f 100644 (file)
@@ -355,8 +355,6 @@ local function train(dataset, opt, model, criterion, epoch,
   logger.messagex('confusion: %s', tostring(confusion))
   logger.messagex('%s mean class accuracy (train set)', confusion.totalValid * 100)
   confusion:zero()
-
-  epoch = epoch + 1
 end