From aedeb28b41ffbe0229d065c69f7d2e4570968ace Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 15 Jul 2026 16:55:56 +0200 Subject: Reworking particle_aabb --- modules/core/c++/particle/aabb.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/core/c++/particle/aabb.hpp') diff --git a/modules/core/c++/particle/aabb.hpp b/modules/core/c++/particle/aabb.hpp index a838401..983fd97 100644 --- a/modules/core/c++/particle/aabb.hpp +++ b/modules/core/c++/particle/aabb.hpp @@ -22,8 +22,8 @@ public: sch::Member,"b"> >; public: - template - static constexpr saw::error_or> calculate(const saw::data& p_grp, const saw::data>& i, const saw::data>& meta){ + template + static constexpr saw::error_or> calculate(const saw::data& p_grp, const saw::data>& i, const saw::data>& meta){ static_assert(PC > 0u, "Can't calculate from no particles"); if(not (i.at({0u}).get() < PC) ){ return saw::make_error("Too large i in particle_aabb"); @@ -55,5 +55,6 @@ public: } }; + } } -- cgit v1.2.3