From 7595ad7ff9e68eda5c6748e0e2d0d34c55289352 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 22 Apr 2015 07:12:19 -0500 Subject: [PATCH] Avoid using the deprecated row_iterator types of sparsity patterns. Replace them with uses of regular iterators. --- source/lac/petsc_parallel_sparse_matrix.cc | 24 ++++++---------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/source/lac/petsc_parallel_sparse_matrix.cc b/source/lac/petsc_parallel_sparse_matrix.cc index 7e4c3c7c7b..4e1f2fa63a 100644 --- a/source/lac/petsc_parallel_sparse_matrix.cc +++ b/source/lac/petsc_parallel_sparse_matrix.cc @@ -471,16 +471,10 @@ namespace PETScWrappers // from the sparsity pattern. { PetscInt *ptr = & colnums_in_window[0]; - for (PetscInt i=local_row_start; icolumn(); } @@ -698,16 +692,10 @@ namespace PETScWrappers // from the sparsity pattern. { PetscInt *ptr = & colnums_in_window[0]; - for (size_type i=local_row_start; icolumn(); } -- 2.39.5