From 71e58489aa8efbc883ba961b1f1cf15eebec3c87 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 21 Aug 2020 16:11:32 +0100 Subject: [Minor] Allow to use lua_tensor in kann apply --- src/lua/lua_tensor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lua/lua_tensor.c') diff --git a/src/lua/lua_tensor.c b/src/lua/lua_tensor.c index 6e5bec7d8..1506d4548 100644 --- a/src/lua/lua_tensor.c +++ b/src/lua/lua_tensor.c @@ -54,7 +54,7 @@ static luaL_reg rspamd_tensor_m[] = { {NULL, NULL}, }; -static struct rspamd_lua_tensor * +struct rspamd_lua_tensor * lua_newtensor (lua_State *L, int ndims, const int *dim, bool zero_fill, bool own) { struct rspamd_lua_tensor *res; -- cgit v1.2.3