From: oliver Date: Mon, 3 May 2004 14:51:52 +0000 (+0000) Subject: Bugfix, which corrects a wrong parameter order in a call to the X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62e52b203d72c4998cb1a1a674231e4f064ee34d;p=dealii-svn.git 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 --- 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));