diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-06 11:10:15 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-05-06 11:10:15 +0100 |
commit | 6eb43010cb8fa0f2b4b0a0a33433bf58061a11b4 (patch) | |
tree | 26dbfe15c373256ed5c7a5e102b5c109847c319a /src/plugins | |
parent | 4325ace0ad9a897c973ebfa571f4aa00f39ddc15 (diff) | |
download | rspamd-6eb43010cb8fa0f2b4b0a0a33433bf58061a11b4.tar.gz rspamd-6eb43010cb8fa0f2b4b0a0a33433bf58061a11b4.zip |
[Fix] Fix max_train setup in ANN module
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/lua/fann_scores.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/fann_scores.lua b/src/plugins/lua/fann_scores.lua index 1e6f90985..98b0f7849 100644 --- a/src/plugins/lua/fann_scores.lua +++ b/src/plugins/lua/fann_scores.lua @@ -263,7 +263,7 @@ else max_trains = opts['train']['max_train'] end if opts['train']['max_epoch'] then - max_trains = opts['train']['max_epoch'] + max_epoch = opts['train']['max_epoch'] end cfg:register_worker_script("log_helper", function(score, req_score, results, cf, id) |