Skip to content

Commit

Permalink
Fixup View::rank() was added in Kokkos 4.1 which exceeds the current …
Browse files Browse the repository at this point in the history
…minimum requirement
  • Loading branch information
dalg24 committed Jan 3, 2024
1 parent 7fa71f2 commit cf5593d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Cabana_Experimental_NeighborList.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ typename Kokkos::View<D, P...>::non_const_value_type
max_reduce( ExecutionSpace const& space, Kokkos::View<D, P...> const& v )
{
using V = Kokkos::View<D, P...>;
static_assert( V::rank() == 1 );
static_assert( V::rank == 1 );
static_assert( Kokkos::is_execution_space_v<ExecutionSpace> );
static_assert(
is_accessible_from<typename V::memory_space, ExecutionSpace>::value );
Expand Down

0 comments on commit cf5593d

Please sign in to comment.