diff --git a/packages/stokhos/src/sacado/kokkos/vector/linalg/Kokkos_ArithTraits_MP_Vector.hpp b/packages/stokhos/src/sacado/kokkos/vector/linalg/Kokkos_ArithTraits_MP_Vector.hpp index f3c9aa77d8c5..4f4e84ac0306 100644 --- a/packages/stokhos/src/sacado/kokkos/vector/linalg/Kokkos_ArithTraits_MP_Vector.hpp +++ b/packages/stokhos/src/sacado/kokkos/vector/linalg/Kokkos_ArithTraits_MP_Vector.hpp @@ -51,7 +51,9 @@ //---------------------------------------------------------------------------- namespace Kokkos { +#if KOKKOS_VERSION < 40099 namespace Details { +#endif template class ArithTraits< Sacado::MP::Vector > { @@ -211,8 +213,10 @@ class ArithTraits< Sacado::MP::Vector > { } }; -} -} +#if KOKKOS_VERSION < 40099 +} // namespace Details - removed after Kokkos 4.0 +#endif +} // namespace Kokkos namespace KokkosBatched {