From: heister Date: Thu, 6 Jun 2013 22:08:53 +0000 (+0000) Subject: fix bug in PETSc BlockVector X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d2ec536373371728807c823a2cb677645971c5;p=dealii-svn.git fix bug in PETSc BlockVector git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29793 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/lac/petsc_parallel_block_vector.cc b/deal.II/source/lac/petsc_parallel_block_vector.cc index 45dbc8d1b1..c9b40814c0 100644 --- a/deal.II/source/lac/petsc_parallel_block_vector.cc +++ b/deal.II/source/lac/petsc_parallel_block_vector.cc @@ -48,7 +48,7 @@ namespace PETScWrappers this->components.resize(this->n_blocks()); for (unsigned int i=0; in_blocks(); ++i) - components[i].reinit (MPI_Comm(), 0, 0); + components[i].reinit (MPI_COMM_SELF, 0, 0); collect_sizes(); }