Skip to content

Commit

Permalink
fix typo for bounds checking
Browse files Browse the repository at this point in the history
  • Loading branch information
nmm0 committed Aug 26, 2024
1 parent 9641280 commit af4cee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Kokkos_View.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class View : public Impl::BasicViewFromTraits<DataType, Properties...>::type {
Is... is) {
static_assert(sizeof...(Is) <= 8 - rank);
static_assert(Kokkos::Impl::are_integral<Is...>::value);
if (!((is == static_cast<IS>(0)) && ... && true))
if (!((is == static_cast<Is>(0)) && ... && true))
Kokkos::abort("Extra arguments to Kokkos::access must be zero");
}
#else
Expand Down

0 comments on commit af4cee7

Please sign in to comment.