From d3a605e6cd533a546697b4532f5f4643fc37a131 Mon Sep 17 00:00:00 2001 From: heister Date: Fri, 3 May 2013 01:26:47 +0000 Subject: [PATCH] fix reinit() of block matrix git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29438 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc b/deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc index 03c4d56283..69539924e0 100644 --- a/deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc +++ b/deal.II/source/lac/petsc_parallel_block_sparse_matrix.cc @@ -82,12 +82,12 @@ namespace PETScWrappers bcsp.n_block_cols()); std::vector row_sizes; - for (unsigned int r=0; rn_block_rows(); ++r) + for (unsigned int r=0; rrow_block_indices.reinit (row_sizes); std::vector col_sizes; - for (unsigned int c=0; cn_block_cols(); ++c) + for (unsigned int c=0; ccolumn_block_indices.reinit (col_sizes); -- 2.39.5