From c8d9eb9aa409e95ce8311ae6a45942957f50ce11 Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Thu, 14 May 2020 18:13:01 +0200 Subject: [PATCH] changes required for gcc 10 --- src/include/xfor/iloop.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/include/xfor/iloop.h b/src/include/xfor/iloop.h index f6a4b30..d7911e5 100644 --- a/src/include/xfor/iloop.h +++ b/src/include/xfor/iloop.h @@ -19,14 +19,14 @@ namespace MultiArrayHelper typedef typename std::tuple_element::type LType; return LType::SIZE + NN::template LSIZE(); } - + /* template static inline constexpr size_t lsize(const LTp& ltp) { typedef typename std::tuple_element::type LType; return LType::SIZE + NN::lsize(ltp); } - + */ template static inline auto rootSteps(const LTp& ltp, std::intptr_t i = 0) { @@ -48,7 +48,8 @@ namespace MultiArrayHelper size_t mpos, ExtType pos) { NN::exec(ltp,umpos,mpos,pos); - std::get(ltp)(std::get(umpos)*mpos, pos.template nn::lsize(ltp)>()); + //std::get(ltp)(std::get(umpos)*mpos, pos.template nn::lsize(ltp)>()); + std::get(ltp)(std::get(umpos)*mpos, pos.template nn::template LSIZE()>()); return 0; }