From a4b73d313b0c6a9f6bc49b987f53fd0d14a0cea3 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 16 Apr 2004 20:50:40 +0000 Subject: [PATCH] Fix one potential problem. git-svn-id: https://svn.dealii.org/trunk@9031 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lac/source/petsc_parallel_vector.cc | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5