From e5d2ec536373371728807c823a2cb677645971c5 Mon Sep 17 00:00:00 2001 From: heister Date: Thu, 6 Jun 2013 22:08:53 +0000 Subject: [PATCH] fix bug in PETSc BlockVector git-svn-id: https://svn.dealii.org/branches/branch_unify_linear_algebra@29793 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/lac/petsc_parallel_block_vector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- 2.39.5