From dcee24278ed28d21cd3addffeeb8e5f9f7248602 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 17 Feb 2026 18:29:22 +0100 Subject: End of day --- lib/core/c++/descriptor.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/core/c++/descriptor.hpp') diff --git a/lib/core/c++/descriptor.hpp b/lib/core/c++/descriptor.hpp index 9cc2591..e38daee 100644 --- a/lib/core/c++/descriptor.hpp +++ b/lib/core/c++/descriptor.hpp @@ -180,6 +180,7 @@ public: static constexpr std::array, Q> directions = {{ { 0, 0, 0}, // 0 + // Into 1D {-1, 0, 0}, // 1 { 1, 0, 0}, // 2 // Expand into 2D @@ -212,14 +213,17 @@ public: static constexpr std::array::type,Q> weights = { 8./27., - 1./9., - 1./9., - 1./9., + // 1D + 2./27., + 2./27., + // 2D + 2./27., 1./9., 1./36., 1./36., 1./36., 1./36., + // 3D 8./27., 1./9., 1./9., -- cgit v1.2.3