From a83027f47e25e08ce08554c9a5068c57a3bac64a Mon Sep 17 00:00:00 2001 From: Felix Thaler Date: Wed, 25 Sep 2024 11:18:05 +0200 Subject: [PATCH] Address review comment --- include/gridtools/fn/backend/common.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/gridtools/fn/backend/common.hpp b/include/gridtools/fn/backend/common.hpp index 6616ee9ee..8bbcb986b 100644 --- a/include/gridtools/fn/backend/common.hpp +++ b/include/gridtools/fn/backend/common.hpp @@ -35,8 +35,7 @@ namespace gridtools::fn::backend { constexpr GT_FUNCTION auto make_unrolled_loops(Sizes const &sizes, UnrollFactors) { return tuple_util::host_device::fold( [&](auto outer, auto dim) { - using unroll_factor = std::remove_reference_t( - std::declval()))>; + using unroll_factor = element_at; return [outer = std::move(outer), inner = sid::make_unrolled_loop( host_device::at_key(sizes))](