From 62e52b203d72c4998cb1a1a674231e4f064ee34d Mon Sep 17 00:00:00 2001 From: oliver Date: Mon, 3 May 2004 14:51:52 +0000 Subject: [PATCH] Bugfix, which corrects a wrong parameter order in a call to the reinit method. git-svn-id: https://svn.dealii.org/trunk@9145 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/include/lac/petsc_parallel_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal.II/lac/include/lac/petsc_parallel_vector.h b/deal.II/lac/include/lac/petsc_parallel_vector.h index 411f1bb8b0..d74bcefd5e 100644 --- a/deal.II/lac/include/lac/petsc_parallel_vector.h +++ b/deal.II/lac/include/lac/petsc_parallel_vector.h @@ -395,7 +395,7 @@ namespace PETScWrappers // if the vectors have different sizes, // then first resize the present one if (size() != v.size()) - reinit (v.size(), v.local_size(), v.communicator, true); + reinit (v.communicator, v.size(), v.local_size(), true); const int ierr = VecCopy (v.vector, vector); AssertThrow (ierr == 0, ExcPETScError(ierr)); -- 2.39.5