From 9a32bf455d4c93925c86a030262d2e0cc93bfedf Mon Sep 17 00:00:00 2001 From: Andrey Prokopenko Date: Thu, 11 Apr 2024 14:08:51 -0400 Subject: [PATCH] Minor comment improvements --- src/ArborX_BruteForce.hpp | 4 ++-- src/ArborX_LinearBVH.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ArborX_BruteForce.hpp b/src/ArborX_BruteForce.hpp index 84ec4384e..22d81cb9a 100644 --- a/src/ArborX_BruteForce.hpp +++ b/src/ArborX_BruteForce.hpp @@ -85,7 +85,7 @@ class BruteForce // Automatically add LegacyDefaultCallback if // 1. A user does not provide a callback // 2. The index is constructed on PairValueIndex - // 3. The output value_type matches the index_type in the PairValueIndex + // 3. The output value_type is an integral type constexpr bool use_convenient_shortcut = []() { if constexpr (!Kokkos::is_view_v>) return false; @@ -101,7 +101,7 @@ class BruteForce // Simplified way to get APIv1 result using APIv2 interface Details::CrsGraphWrapperImpl::queryDispatch( Tag{}, *this, space, Predicates{user_predicates}, - Details::LegacyDefaultCallback{}, + Details::LegacyDefaultCallback{}, // inject legacy callback arg std::forward(callback_or_view), std::forward(view), std::forward(args)...); return; diff --git a/src/ArborX_LinearBVH.hpp b/src/ArborX_LinearBVH.hpp index 47dfe64ee..24147cb44 100644 --- a/src/ArborX_LinearBVH.hpp +++ b/src/ArborX_LinearBVH.hpp @@ -109,7 +109,7 @@ class BoundingVolumeHierarchy // Automatically add LegacyDefaultCallback if // 1. A user does not provide a callback // 2. The index is constructed on PairValueIndex - // 3. The output value_type matches the index_type in the PairValueIndex + // 3. The output value_type is an integral type constexpr bool use_convenient_shortcut = []() { if constexpr (!Kokkos::is_view_v>) return false; @@ -125,7 +125,7 @@ class BoundingVolumeHierarchy // Simplified way to get APIv1 result using APIv2 interface Details::CrsGraphWrapperImpl::queryDispatch( Tag{}, *this, space, Predicates{user_predicates}, - Details::LegacyDefaultCallback{}, + Details::LegacyDefaultCallback{}, // inject legacy callback arg std::forward(callback_or_view), std::forward(view), std::forward(args)...); return;