diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-23 17:33:24 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-23 17:33:24 +0100 |
| commit | 889710232771ce78be5e815d5e12dc42a57ffcb0 (patch) | |
| tree | 79d7b84a7a5054a962db7f736b528d73a2d107f6 /lib/core/c++/descriptor.hpp | |
| parent | 15bb1ae31583b53b448bf8f6300384ddf0025668 (diff) | |
| parent | 571e79c4d0b72202186fd11314cf268723b1844d (diff) | |
| download | libs-lbm-889710232771ce78be5e815d5e12dc42a57ffcb0.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'lib/core/c++/descriptor.hpp')
| -rw-r--r-- | lib/core/c++/descriptor.hpp | 18 |
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 = { |
