summaryrefslogtreecommitdiff
path: root/lib/core/c++/descriptor.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-03-23 16:41:32 +0100
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-03-23 16:41:32 +0100
commit0d3c1a0f68792a04129dc8da8e9b9b113f76e3ec (patch)
tree1bcf2977a1e349eb4b475019eb90742de942a7e4 /lib/core/c++/descriptor.hpp
parentf14adcc650389a3084fdf7955c3716034b33f4f4 (diff)
downloadlibs-lbm-0d3c1a0f68792a04129dc8da8e9b9b113f76e3ec.tar.gz
Found wrong zou he boundary issue. Preparing for fix
Diffstat (limited to 'lib/core/c++/descriptor.hpp')
-rw-r--r--lib/core/c++/descriptor.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/core/c++/descriptor.hpp b/lib/core/c++/descriptor.hpp
index 73f0cce..9f7399a 100644
--- a/lib/core/c++/descriptor.hpp
+++ b/lib/core/c++/descriptor.hpp
@@ -146,15 +146,15 @@ public:
static constexpr uint64_t Q = 9u;
static constexpr std::array<std::array<int32_t, D>, Q> directions = {{
- { 0, 0},
- {-1, 0},
- { 1, 0},
- { 0,-1},
- { 0, 1},
- {-1,-1},
- { 1, 1},
- {-1, 1},
- { 1,-1}
+ { 0, 0}, // 0
+ {-1, 0}, // 1
+ { 1, 0}, // 2
+ { 0,-1}, // 3
+ { 0, 1}, // 4
+ {-1,-1}, // 5
+ { 1, 1}, // 6
+ {-1, 1}, // 7
+ { 1,-1} // 8
}};
static constexpr std::array<typename saw::native_data_type<T>::type,Q> weights = {