From: wolf Date: Fri, 16 Apr 2004 20:50:40 +0000 (+0000) Subject: Fix one potential problem. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b73d313b0c6a9f6bc49b987f53fd0d14a0cea3;p=dealii-svn.git Fix one potential problem. git-svn-id: https://svn.dealii.org/trunk@9031 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/lac/source/petsc_parallel_vector.cc b/deal.II/lac/source/petsc_parallel_vector.cc index 35491c5beb..6524a40fc2 100644 --- a/deal.II/lac/source/petsc_parallel_vector.cc +++ b/deal.II/lac/source/petsc_parallel_vector.cc @@ -113,6 +113,9 @@ namespace PETScWrappers Vector & Vector::operator = (const PETScWrappers::Vector &v) { + // first flush buffers + compress (); + int ierr; // get a pointer to the local memory of this vector