aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_fann.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_fann.c')
-rw-r--r--src/lua/lua_fann.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_fann.c b/src/lua/lua_fann.c
index 40353ea40..7eb493740 100644
--- a/src/lua/lua_fann.c
+++ b/src/lua/lua_fann.c
@@ -689,7 +689,7 @@ lua_fann_train_threaded (lua_State *L)
struct fann *f = rspamd_lua_check_fann (L, 1);
guint ninputs, noutputs, ndata, i, j;
struct lua_fann_train_cbdata *cbdata;
- struct event_base *ev_base = lua_check_ev_base (L, 5);
+ struct ev_loop *ev_base = lua_check_ev_base (L, 5);
GError *err = NULL;
const guint max_epochs_default = 1000;
const gdouble desired_mse_default = 0.0001;