aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_tensor.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-05 14:44:58 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-03-05 14:44:58 +0000
commitdd284d1c1ef885d0666656fe3286445a79af0929 (patch)
treee837a3cd7238cb326b37720dd4f45ea0ff7751cb /src/lua/lua_tensor.h
parent900f364e367316e80c2f21bdbadbec540f582e40 (diff)
downloadrspamd-dd284d1c1ef885d0666656fe3286445a79af0929.tar.gz
rspamd-dd284d1c1ef885d0666656fe3286445a79af0929.zip
[Minor] Fix lua_tensor usage
Diffstat (limited to 'src/lua/lua_tensor.h')
-rw-r--r--src/lua/lua_tensor.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lua/lua_tensor.h b/src/lua/lua_tensor.h
index 2103868ae..ffb2517cf 100644
--- a/src/lua/lua_tensor.h
+++ b/src/lua/lua_tensor.h
@@ -1,11 +1,11 @@
-/*-
- * Copyright 2020 Vsevolod Stakhov
+/*
+ * Copyright 2024 Vsevolod Stakhov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -16,8 +16,6 @@
#ifndef RSPAMD_LUA_TENSOR_H
#define RSPAMD_LUA_TENSOR_H
-#define TENSOR_CLASS "rspamd{tensor}"
-
typedef float rspamd_tensor_num_t;
struct rspamd_lua_tensor {