diff --git a/ode/unit_test/Test_ODE_RK_counts.hpp b/ode/unit_test/Test_ODE_RK_counts.hpp index a59a9a1754..f76fcb0134 100644 --- a/ode/unit_test/Test_ODE_RK_counts.hpp +++ b/ode/unit_test/Test_ODE_RK_counts.hpp @@ -134,7 +134,12 @@ void test_RK_count() { Test::RK_Count(TestDevice(), TestProblem::EnrightD2(), 1.e-5, 0.0, 590); } Test::RK_Count(TestDevice(), TestProblem::EnrightD4(), 1.e-5, 1.e-9, 932); +#if defined(KOKKOS_ENABLE_SYCL) + if constexpr ((RK != KokkosODE::Experimental::RK_type::RKF12) && + !std::is_same_v) { +#else if constexpr (RK != KokkosODE::Experimental::RK_type::RKF12) { +#endif Test::RK_Count(TestDevice(), TestProblem::KKStiffChemistry(), 1e-5, 0.0, 1); } }