check for neural.enabled to see if it's enabled. only checking for neural is always true unless someone messed with config files.pull/4840/head
@@ -544,7 +544,7 @@ return function(cfg) | |||
end | |||
-- If neural network is enabled we MUST have `check_all_filters` flag | |||
if cfg.neural then | |||
if cfg.neural and cfg.neural.enabled then | |||
if not cfg.options then | |||
cfg.options = {} | |||
end |