Skip to content

Commit

Permalink
Tpetra CrsMatrix: Fix warning
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Glusa <[email protected]>
  • Loading branch information
cgcgcg committed Jan 21, 2025
1 parent 5dd8609 commit 4bf4506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tpetra/core/src/Tpetra_CrsMatrix_def.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9539,7 +9539,7 @@ CrsMatrix<Scalar, LocalOrdinal, GlobalOrdinal, Node>::
local_inds_device_value_t tend = tgtLocalRowPtrsDevice(sourceLID + 1);
local_inds_device_value_t numInTgtRow = (tend - tstart);

KOKKOS_ASSERT(tstart < tvals.extent(0));
KOKKOS_ASSERT(static_cast<size_t>(tstart) < tvals.extent(0));
impl_scalar_type *tgtRowVals = reinterpret_cast<impl_scalar_type *>(&tvals(tstart));
const local_inds_device_value_t *tgtColInds = &tgtLocalColIndsDevice(tstart);

Expand Down

0 comments on commit 4bf4506

Please sign in to comment.