Skip to content

Commit

Permalink
Merge pull request #74 from lanl/Adrian-Diaz-patch-1
Browse files Browse the repository at this point in the history
correct an assert
  • Loading branch information
nathanielmorgan authored Nov 16, 2023
2 parents 8ce87f4 + 770b80a commit bc0df1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kokkos_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -7026,7 +7026,7 @@ T& RaggedRightArrayofVectorsKokkos<T,Layout,ExecSpace,MemoryTraits,ILayout>::ope
// asserts
assert(i < dim1_ && "i is out of dim1 bounds in RaggedRightArrayKokkos"); // die if >= dim1
assert(j < stride(i) && "j is out of stride bounds in RaggedRightArrayKokkos"); // die if >= stride
assert(j < vector_dim_ && "k is out of vector_dim bounds in RaggedRightArrayKokkos"); // die if >= vector_dim
assert(k < vector_dim_ && "k is out of vector_dim bounds in RaggedRightArrayKokkos"); // die if >= vector_dim

return array_(j*vector_dim_ + start + k);
} // End operator()
Expand Down

0 comments on commit bc0df1c

Please sign in to comment.