From 0d228c7f3b4ca886a8d2e7c276b14120a9d4c6cf Mon Sep 17 00:00:00 2001 From: Stan Gerald Moore Date: Tue, 31 Jan 2023 12:20:01 -0700 Subject: [PATCH] Fix compile error with Kokkos on GPUs --- wigner-cpp/include/wigner/wigner_3nj.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wigner-cpp/include/wigner/wigner_3nj.hpp b/wigner-cpp/include/wigner/wigner_3nj.hpp index 51df5ac..8a52b27 100644 --- a/wigner-cpp/include/wigner/wigner_3nj.hpp +++ b/wigner-cpp/include/wigner/wigner_3nj.hpp @@ -212,7 +212,7 @@ void rec_luscombe_luban(ArgT nmin_, ArgT nmax_, Iterator dest, const FuncXYZ fn) // // For the convenience, we set f'[n1] = 1. // - auto i1 = decltype(siz)(); + auto i1 = 0; auto n1 = nmin; const auto ymin = fn.Y(nmin); if (abs(ymin) < tiny)