Skip to content

Commit

Permalink
Tpetra: Fix warning in trilinos_tpetra_sparse_matrix.h
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Mar 7, 2024
1 parent 52ad1bc commit c989e26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/deal.II/lac/trilinos_tpetra_sparse_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -1914,8 +1914,8 @@ namespace LinearAlgebra
SparseMatrix<Number, MemorySpace>::in_local_range(
const size_type index) const
{
auto begin = matrix->getRowMap()->getMinGlobalIndex();
auto end = matrix->getRowMap()->getMaxGlobalIndex() + 1;
size_type begin = matrix->getRowMap()->getMinGlobalIndex();
size_type end = matrix->getRowMap()->getMaxGlobalIndex() + 1;

return ((index >= begin) && (index < end));
}
Expand Down

0 comments on commit c989e26

Please sign in to comment.