From: heister Date: Fri, 3 May 2013 01:26:47 +0000 (+0000) Subject: fix reinit() of block matrix X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3a605e6cd533a546697b4532f5f4643fc37a131;p=dealii-svn.git fix reinit() of block matrix git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29438 0785d39b-7218-0410-832d-ea1e28bc413d --- 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);