From 6560a8fa7dfa27831cf9e332f525d129e90e61d2 Mon Sep 17 00:00:00 2001 From: Yuuichi Asahi Date: Sat, 12 Oct 2024 18:39:59 +0900 Subject: [PATCH] fix: ToArray tests for Kokkos v.4.2.0 --- common/unit_test/Test_Utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/unit_test/Test_Utils.cpp b/common/unit_test/Test_Utils.cpp index eb42aab6..9081b161 100644 --- a/common/unit_test/Test_Utils.cpp +++ b/common/unit_test/Test_Utils.cpp @@ -544,11 +544,12 @@ TEST(IndexSequence, 3Dto5D) { TEST(ToArray, lvalue) { std::array arr{1, 2, 3}; - ASSERT_EQ(KokkosFFT::Impl::to_array(arr), (Kokkos::Array{1, 2, 3})); + ASSERT_EQ(KokkosFFT::Impl::to_array(arr), (Kokkos::Array{1, 2, 3})); } TEST(ToArray, rvalue) { - ASSERT_EQ(KokkosFFT::Impl::to_array(std::array{1, 2}), (Kokkos::Array{1, 2})); + ASSERT_EQ(KokkosFFT::Impl::to_array(std::array{1, 2}), + (Kokkos::Array{1, 2})); // [TO DO] Need to update Kokkos version for compile time test // GTEST_SKIP() << "Skipping ToArray::rvalue compile time test"; // static_assert(KokkosFFT::Impl::to_array(std::array{1, 2}) ==