]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix one potential problem.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 20:50:40 +0000 (20:50 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 20:50:40 +0000 (20:50 +0000)
git-svn-id: https://svn.dealii.org/trunk@9031 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/source/petsc_parallel_vector.cc

index 35491c5bebbb07500adc23248f5ac8a8e7a96fdf..6524a40fc2b7aa736268a88fed5dff9951520c47 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.