aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/lua/fann_redis.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua
index 5c444e74c..ac6f78772 100644
--- a/src/plugins/lua/fann_redis.lua
+++ b/src/plugins/lua/fann_redis.lua
@@ -770,7 +770,7 @@ local function train_fann(rule, _, ev_base, elt, worker)
local out = torch.MemoryFile()
out:writeObject(fanns[elt].fann_train)
local st = out:storage():string()
- return out
+ return st
end
worker:spawn_process{